Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 192.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 64.48 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.399, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004705/0.4037, allocations: 2.219 MB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004004/0.4078, allocations: 2.601 MB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.408, allocations: 4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.4098, allocations: 0.5371 MB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.4103, allocations: 111.6 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.4111, allocations: 202.4 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.4117, allocations: 366.2 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.4118, allocations: 69.06 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.4121, allocations: 119.4 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.4124, allocations: 155.2 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.4124, allocations: 4 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.4127, allocations: 55.97 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.4129, allocations: 131.4 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.4132, allocations: 230.4 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.414, allocations: 0.6772 MB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.414, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.414, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.414, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001772/0.4158, allocations: 0.9184 MB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4159, allocations: 8.031 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.416, allocations: 68.09 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.4167, allocations: 456 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.4167, allocations: 4.375 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4167, allocations: 12.11 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.417, allocations: 100.2 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.417, allocations: 4 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.417, allocations: 3.938 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.417, allocations: 0 / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.4172, allocations: 43.97 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.4181, allocations: 0.5161 MB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.4186, allocations: 106.6 kB / 1.077 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4187, allocations: 32.84 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.4187, allocations: 7.984 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.4189, allocations: 83.41 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4189, allocations: 0 / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004773/0.4194, allocations: 196.7 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.4195, allocations: 114.8 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4207, allocations: 0.915 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4208, allocations: 29.64 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.4211, allocations: 320 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.4211, allocations: 11.75 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.4212, allocations: 33.7 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4213, allocations: 309.9 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.4214, allocations: 31.98 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.4215, allocations: 76.2 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.4217, allocations: 66.02 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4217, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003167/0.422, allocations: 180.6 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.422, allocations: 12.02 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.422, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4221, allocations: 4 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.4222, allocations: 12 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4222, allocations: 0 / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.4223, allocations: 11.92 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4223, allocations: 0 / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003629/0.4227, allocations: 328 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.4228, allocations: 71.14 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.4229, allocations: 78.42 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.423, allocations: 4 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.423, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.423, allocations: 7.922 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.4234, allocations: 389.5 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4234, allocations: 3.984 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.4235, allocations: 11.94 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4235, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4235, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4235, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4235, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.4239, allocations: 200.1 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.424, allocations: 144.2 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.4241, allocations: 7.938 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.4242, allocations: 8 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.4243, allocations: 7.984 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.4243, allocations: 3.938 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008568/0.4252, allocations: 0.6785 MB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4252, allocations: 4 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003235/0.4255, allocations: 59.98 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001168/0.4267, allocations: 427.3 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.427, allocations: 71.89 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.427, allocations: 0 / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.4271, allocations: 39.98 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007618/0.4279, allocations: 159.2 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.4298, allocations: 1.263 MB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.4305, allocations: 0.9905 MB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.4307, allocations: 47.27 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.4308, allocations: 27.42 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4308, allocations: 0 / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.01405/0.4449, allocations: 5.843 MB / 1.09 GB, free: 3.758 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1)