Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7664/0.7664, allocations: 140.1 MB / 156 MB, free: 5.145 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 179.6 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008204/0.0008203, allocations: 89.09 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001679/0.001679, allocations: 273.3 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004607, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.359, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4999, allocations: 108.7 MB / 0.8456 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5002, allocations: 79.95 kB / 0.8456 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.008598/0.5088, allocations: 2.911 MB / 0.8485 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.015e-06/0.5089, allocations: 0 / 0.8485 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5089, allocations: 4 kB / 0.8485 GB, free: 14.55 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006723/0.5096, allocations: 428.1 kB / 0.8489 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.5097, allocations: 12.02 kB / 0.8489 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.5097, allocations: 16.78 kB / 0.8489 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.5099, allocations: 172.2 kB / 0.8491 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.5101, allocations: 67.95 kB / 0.8492 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.5101, allocations: 12.38 kB / 0.8492 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.5104, allocations: 122.1 kB / 0.8493 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5104, allocations: 3.938 kB / 0.8493 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5105, allocations: 4 kB / 0.8493 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5105, allocations: 4 kB / 0.8493 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.5107, allocations: 111.9 kB / 0.8494 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.5116, allocations: 440.3 kB / 0.8498 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.5118, allocations: 82.55 kB / 0.8499 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.5119, allocations: 36.92 kB / 0.8499 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.5124, allocations: 319.2 kB / 0.8502 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5125, allocations: 38.5 kB / 0.8503 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.5125, allocations: 4 kB / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.00129/0.5138, allocations: 359.2 kB / 0.8506 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.5139, allocations: 55.41 kB / 0.8507 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.5141, allocations: 170.1 kB / 0.8508 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5141, allocations: 25.7 kB / 0.8509 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.5142, allocations: 104 kB / 0.851 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.5142, allocations: 27.56 kB / 0.851 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.5142, allocations: 7.938 kB / 0.851 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5144, allocations: 326.8 kB / 0.8513 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/0.5145, allocations: 35.92 kB / 0.8513 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.5146, allocations: 39.97 kB / 0.8514 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.5147, allocations: 77 kB / 0.8514 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5148, allocations: 4 kB / 0.8515 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005325/0.5153, allocations: 198.3 kB / 0.8516 GB, free: 11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5153, allocations: 4 kB / 0.8516 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5153, allocations: 7.875 kB / 0.8517 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/0.5158, allocations: 88.77 kB / 0.8517 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.5159, allocations: 11.94 kB / 0.8517 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.5179, allocations: 1.596 MB / 0.8533 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5181, allocations: 27.86 kB / 0.8533 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5181, allocations: 0 / 0.8533 GB, free: 9.125 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 9.906e-05/0.5182, allocations: 121.7 kB / 0.8534 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.5182, allocations: 11.91 kB / 0.8535 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/0.5188, allocations: 187 kB / 0.8536 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5188, allocations: 4 kB / 0.8536 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.5188, allocations: 0 / 0.8536 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5188, allocations: 0 / 0.8536 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000744/0.5195, allocations: 464 kB / 0.8541 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5196, allocations: 0 / 0.8541 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.5196, allocations: 11.98 kB / 0.8541 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.52, allocations: 76.83 kB / 0.8542 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.52, allocations: 11.92 kB / 0.8542 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.5218, allocations: 1.592 MB / 0.8557 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5218, allocations: 3.938 kB / 0.8557 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.5223, allocations: 285 kB / 0.856 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.5224, allocations: 93 kB / 0.8561 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.5224, allocations: 0 / 0.8561 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.5225, allocations: 4 kB / 0.8561 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.5226, allocations: 11.92 kB / 0.8561 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5226, allocations: 8 kB / 0.8561 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001047/0.5227, allocations: 123.2 kB / 0.8562 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5227, allocations: 0 / 0.8562 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004232/0.5232, allocations: 71.86 kB / 0.8563 GB, free: 5.816 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/0.5234, allocations: 147.1 kB / 0.8564 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.524, allocations: 222.9 kB / 0.8567 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.524, allocations: 0 / 0.8567 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.5243, allocations: 170.7 kB / 0.8568 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.5246, allocations: 20.16 kB / 0.8568 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.5252, allocations: 290 kB / 0.8571 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5255, allocations: 0.7009 MB / 0.8578 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.747e-05/0.5255, allocations: 12.89 kB / 0.8578 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.5256, allocations: 11.44 kB / 0.8578 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/0.5256, allocations: 3.938 kB / 0.8578 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of Templates: time 0.005262/0.5309, allocations: 2.214 MB / 0.86 GB, free: 1.965 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)