Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006789/0.0006789, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008817/0.001561, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006741/0.0006741, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008988/0.001573, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.941/0.941, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08838/1.029, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.858/1.858, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4804/2.338, allocations: 127.1 MB / 0.7435 GB, free: 4.512 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7448 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.367e-05, allocations: 2.859 kB / 0.7448 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003679/0.003703, allocations: 2.159 MB / 0.7469 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.007115, allocations: 2.585 MB / 0.7495 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.695e-05/0.007212, allocations: 4 kB / 0.7495 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.008002, allocations: 481.2 kB / 0.7499 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.008102, allocations: 74.28 kB / 0.75 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.008656, allocations: 247.2 kB / 0.7502 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.008956, allocations: 340.2 kB / 0.7506 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.009069, allocations: 49.19 kB / 0.7506 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.009282, allocations: 230.4 kB / 0.7508 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.009399, allocations: 104.6 kB / 0.7509 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.009421, allocations: 8 kB / 0.7509 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.009911, allocations: 372.2 kB / 0.7513 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/0.009998, allocations: 107.5 kB / 0.7514 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.01007, allocations: 88.22 kB / 0.7515 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.01059, allocations: 0.5379 MB / 0.752 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.01061, allocations: 0 / 0.752 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01061, allocations: 1.5 kB / 0.752 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.01062, allocations: 0 / 0.752 GB, free: 11.88 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008268/0.01145, allocations: 0.8843 MB / 0.7529 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.01148, allocations: 12.03 kB / 0.7529 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.01154, allocations: 46 kB / 0.7529 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.0118, allocations: 330.3 kB / 0.7532 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.01182, allocations: 4.375 kB / 0.7532 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.01184, allocations: 9.344 kB / 0.7533 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.01198, allocations: 122 kB / 0.7534 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.01199, allocations: 4.688 kB / 0.7534 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.012, allocations: 8 kB / 0.7534 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.012, allocations: 0.6562 kB / 0.7534 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.01206, allocations: 57.67 kB / 0.7534 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.01243, allocations: 326.1 kB / 0.7538 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.893e-05/0.01253, allocations: 126.6 kB / 0.7539 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.01256, allocations: 46.56 kB / 0.7539 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.01259, allocations: 13.48 kB / 0.7539 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.01272, allocations: 137.5 kB / 0.7541 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.01272, allocations: 0 / 0.7541 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0003227/0.01304, allocations: 219.3 kB / 0.7543 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.01309, allocations: 170.4 kB / 0.7544 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.01339, allocations: 0.5123 MB / 0.7549 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01341, allocations: 29.69 kB / 0.755 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.01349, allocations: 171.6 kB / 0.7551 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.01352, allocations: 27.75 kB / 0.7551 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.01355, allocations: 33.69 kB / 0.7552 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.01363, allocations: 310 kB / 0.7555 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.01366, allocations: 49.33 kB / 0.7555 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.01369, allocations: 41.7 kB / 0.7556 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.01376, allocations: 107 kB / 0.7557 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01376, allocations: 0.5 kB / 0.7557 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001118/0.01387, allocations: 173.7 kB / 0.7558 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.01391, allocations: 41.69 kB / 0.7559 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01392, allocations: 0.75 kB / 0.7559 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01393, allocations: 0 / 0.7559 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.01399, allocations: 9 kB / 0.7559 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01399, allocations: 3.938 kB / 0.7559 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.01406, allocations: 4.875 kB / 0.7559 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01407, allocations: 4 kB / 0.7559 GB, free: 7.613 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.01418, allocations: 155 kB / 0.756 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01421, allocations: 39.95 kB / 0.7561 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.01438, allocations: 199.3 kB / 0.7563 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01439, allocations: 5.75 kB / 0.7563 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01439, allocations: 0 / 0.7563 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.01439, allocations: 7.922 kB / 0.7563 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.01455, allocations: 189.6 kB / 0.7565 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01455, allocations: 4.125 kB / 0.7565 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.01458, allocations: 12.64 kB / 0.7565 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.01464, allocations: 51.58 kB / 0.7565 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01464, allocations: 4.938 kB / 0.7565 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.01465, allocations: 4 kB / 0.7565 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01465, allocations: 0.5312 kB / 0.7565 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01465, allocations: 7.922 kB / 0.7565 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.01479, allocations: 219.5 kB / 0.7568 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.01482, allocations: 4 kB / 0.7568 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.01488, allocations: 12 kB / 0.7568 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.01491, allocations: 8.797 kB / 0.7568 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01492, allocations: 0 / 0.7568 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001679/0.01508, allocations: 245.1 kB / 0.757 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01508, allocations: 0.9375 kB / 0.757 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002551/0.01534, allocations: 127.8 kB / 0.7571 GB, free: 6.254 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000283/0.01562, allocations: 207.2 kB / 0.7573 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01577, allocations: 191.5 kB / 0.7575 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.01578, allocations: 8.844 kB / 0.7575 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.01584, allocations: 125.9 kB / 0.7576 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.0167, allocations: 1.181 MB / 0.7588 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.02129, allocations: 0.8832 MB / 0.7597 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.0214, allocations: 163.9 kB / 0.7598 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.018e-05/0.02149, allocations: 20.08 kB / 0.7598 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.02169, allocations: 125.3 kB / 0.76 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/0.02169, allocations: 0 / 0.76 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of Templates: time 0.009315/0.03101, allocations: 6.53 MB / 0.7663 GB, free: 12.75 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.949029971845448]