Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.01012/0.01012, allocations: 171 kB / 16.26 MB, free: 6.613 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.617/1.617, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.282/3.282, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 15.09 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4112, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003176/0.4144, allocations: 2.25 MB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4163, allocations: 0.8999 MB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.4166, allocations: 11.94 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.4168, allocations: 47.58 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.417, allocations: 47.58 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.4177, allocations: 287.2 kB / 1.078 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.4182, allocations: 0.536 MB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.4186, allocations: 275.7 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.4188, allocations: 147.3 kB / 1.079 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.419, allocations: 162.9 kB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.4191, allocations: 16 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.4192, allocations: 23.98 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.4192, allocations: 59.7 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.4194, allocations: 212.4 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.4199, allocations: 0.6697 MB / 1.08 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.42, allocations: 0 / 1.08 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.42, allocations: 3.938 kB / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.42, allocations: 4 kB / 1.08 GB, free: 1.844 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001125/0.4211, allocations: 0.688 MB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4212, allocations: 8.031 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.752e-05/0.4213, allocations: 52.38 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.4218, allocations: 388.3 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.4218, allocations: 37.38 kB / 1.081 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.4219, allocations: 40.38 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.4226, allocations: 438.7 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4226, allocations: 3.938 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.4227, allocations: 16 kB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.4227, allocations: 8 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.4233, allocations: 323.9 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.4254, allocations: 1.436 MB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.426, allocations: 254.9 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.4263, allocations: 124.8 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.4263, allocations: 12.05 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.4268, allocations: 215.5 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.4268, allocations: 0 / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.0007736/0.4276, allocations: 338.8 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.4277, allocations: 132.5 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.4281, allocations: 417.5 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.4282, allocations: 33.7 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4284, allocations: 232 kB / 1.085 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.4285, allocations: 90.73 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.4286, allocations: 37.7 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.4287, allocations: 350.8 kB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.429, allocations: 120.3 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.4294, allocations: 202.5 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.4299, allocations: 290.9 kB / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4299, allocations: 0 / 1.086 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007758/0.4307, allocations: 436.3 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.4308, allocations: 151.7 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4308, allocations: 0 / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4309, allocations: 4 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.4311, allocations: 67.89 kB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4312, allocations: 4 kB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.4316, allocations: 86.02 kB / 1.086 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4316, allocations: 16 kB / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.4316, allocations: 4 kB / 1.086 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006212/0.4323, allocations: 366.4 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.4323, allocations: 3.938 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.4323, allocations: 4 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.4325, allocations: 59.84 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4325, allocations: 4 kB / 1.087 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.4329, allocations: 85.08 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.4329, allocations: 15.98 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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.0002541/0.4332, allocations: 249.3 kB / 1.087 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.4332, allocations: 31.62 kB / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.4339, allocations: 313.4 kB / 1.088 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.4339, allocations: 4 kB / 1.088 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4339, allocations: 0 / 1.088 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4339, allocations: 4 kB / 1.088 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.435, allocations: 0.7769 MB / 1.088 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.435, allocations: 11.94 kB / 1.088 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4352, allocations: 51.91 kB / 1.088 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4353, allocations: 0 / 1.088 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.4353, allocations: 12 kB / 1.088 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4353, allocations: 0 / 1.088 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4353, allocations: 3.938 kB / 1.088 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.4361, allocations: 0.4913 MB / 1.089 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4362, allocations: 132.6 kB / 1.089 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.4363, allocations: 4 kB / 1.089 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4365, allocations: 19.98 kB / 1.089 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.4366, allocations: 23.97 kB / 1.089 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.4366, allocations: 8 kB / 1.089 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003298/0.4369, allocations: 291.2 kB / 1.089 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4369, allocations: 0 / 1.089 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005131/0.4375, allocations: 151.5 kB / 1.089 GB, free: 7.352 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002316/0.4377, allocations: 123.1 kB / 1.09 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009947/0.4387, allocations: 0.5653 MB / 1.09 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4387, allocations: 4.062 kB / 1.09 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.439, allocations: 123.9 kB / 1.09 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.4395, allocations: 68.25 kB / 1.09 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4408, allocations: 0.8183 MB / 1.091 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.4412, allocations: 0.8116 MB / 1.092 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.4414, allocations: 47.3 kB / 1.092 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.4415, allocations: 39.42 kB / 1.092 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.4415, allocations: 4 kB / 1.092 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of Templates: time 0.009502/0.451, allocations: 4.55 MB / 1.096 GB, free: 184 kB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)