Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6238/0.6238, allocations: 94.76 MB / 102.2 MB, free: 14.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001208/0.001208, allocations: 171.5 kB / 125.6 MB, free: 7.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.04/2.04, allocations: 170.6 MB / 319.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002187/0.002188, allocations: 112.7 kB / 381.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.318e-05, allocations: 7.984 kB / 449.1 MB, free: 44.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1828, allocations: 61.52 MB / 0.4987 GB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6753/0.8582, allocations: 99.44 MB / 0.5958 GB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004143/0.8588, allocations: 95.88 kB / 0.5959 GB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03524/0.894, allocations: 12.46 MB / 0.608 GB, free: 2.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.579e-06/0.8941, allocations: 0 / 0.608 GB, free: 2.535 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.81e-05/0.8942, allocations: 11.94 kB / 0.6081 GB, free: 2.523 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001552/0.8957, allocations: 0.6977 MB / 0.6087 GB, free: 1.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.8958, allocations: 8.562 kB / 0.6087 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.8961, allocations: 67.19 kB / 0.6088 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.8967, allocations: 321.8 kB / 0.6091 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.8967, allocations: 4 kB / 0.6091 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.8968, allocations: 7.938 kB / 0.6091 GB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002004/0.897, allocations: 88.09 kB / 0.6092 GB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.8972, allocations: 110.2 kB / 0.6093 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.8972, allocations: 0 / 0.6093 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8973, allocations: 0 / 0.6093 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.8973, allocations: 0 / 0.6093 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.8983, allocations: 0.4993 MB / 0.6098 GB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.8985, allocations: 100.1 kB / 0.6099 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.8986, allocations: 49.45 kB / 0.6099 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.8987, allocations: 11.98 kB / 0.61 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.8989, allocations: 126.4 kB / 0.6101 GB, free: 496 kB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.8989, allocations: 0 / 0.6101 GB, free: 496 kB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005844/0.8995, allocations: 214.8 kB / 0.6103 GB, free: 300 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.8996, allocations: 85.05 kB / 0.6104 GB, free: 196 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.9006, allocations: 0.6005 MB / 0.611 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.9006, allocations: 29.7 kB / 0.611 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.9009, allocations: 278.9 kB / 0.6112 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.9009, allocations: 22.2 kB / 0.6113 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.901, allocations: 0 / 0.6113 GB, free: 15.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000245/0.9012, allocations: 370.8 kB / 0.6116 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.9013, allocations: 41.59 kB / 0.6117 GB, free: 15.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.9014, allocations: 39.36 kB / 0.6117 GB, free: 15.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.9015, allocations: 49.98 kB / 0.6117 GB, free: 15.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9015, allocations: 3.938 kB / 0.6118 GB, free: 15.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003676/0.9019, allocations: 209.9 kB / 0.612 GB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.902, allocations: 43.83 kB / 0.612 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.902, allocations: 0 / 0.612 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.902, allocations: 4 kB / 0.612 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.9021, allocations: 11.98 kB / 0.612 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9022, allocations: 0 / 0.612 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.9023, allocations: 7.953 kB / 0.612 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.9023, allocations: 8 kB / 0.612 GB, free: 14.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.9025, allocations: 138.2 kB / 0.6122 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.9026, allocations: 63.23 kB / 0.6122 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.9031, allocations: 247.6 kB / 0.6125 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9031, allocations: 4 kB / 0.6125 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.9032, allocations: 0 / 0.6125 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.9032, allocations: 0 / 0.6125 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.9036, allocations: 342.3 kB / 0.6128 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9036, allocations: 0 / 0.6128 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.9037, allocations: 8 kB / 0.6128 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.9037, allocations: 0 / 0.6128 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.9037, allocations: 0 / 0.6128 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9037, allocations: 4 kB / 0.6128 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.9037, allocations: 7.984 kB / 0.6128 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.9041, allocations: 258.5 kB / 0.613 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.9043, allocations: 143.6 kB / 0.6132 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.9044, allocations: 4 kB / 0.6132 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.9045, allocations: 4 kB / 0.6132 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.9046, allocations: 7.984 kB / 0.6132 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.9046, allocations: 4 kB / 0.6132 GB, free: 13.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007194/0.9053, allocations: 0.4992 MB / 0.6137 GB, free: 13.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9053, allocations: 0 / 0.6137 GB, free: 13.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007042/0.9061, allocations: 139.5 kB / 0.6138 GB, free: 13.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 5 (speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.9072, allocations: 361.9 kB / 0.6142 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.9075, allocations: 160 kB / 0.6143 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.9075, allocations: 0 / 0.6143 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.9077, allocations: 116.2 kB / 0.6144 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.9083, allocations: 102.8 kB / 0.6145 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.9099, allocations: 0.7538 MB / 0.6153 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/0.9108, allocations: 0.9741 MB / 0.6162 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.9109, allocations: 17.16 kB / 0.6162 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.764e-05/0.9109, allocations: 15.44 kB / 0.6162 GB, free: 10.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.9109, allocations: 0 / 0.6162 GB, free: 10.82 MB / 426.7 MB Notification: Performance of Templates: time 0.01231/0.9233, allocations: 4.82 MB / 0.621 GB, free: 6.027 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)