Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001096/0.001096, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 285.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9155/0.9155, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 95.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3778, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002561/0.3804, allocations: 1.74 MB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3818, allocations: 1.022 MB / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.3819, allocations: 4 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.3819, allocations: 11.86 kB / 0.7697 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.382, allocations: 27.77 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.3825, allocations: 167.3 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3826, allocations: 99.52 kB / 0.77 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3828, allocations: 31.89 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.3828, allocations: 39.84 kB / 0.7701 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.3829, allocations: 39.78 kB / 0.7701 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.383, allocations: 8 kB / 0.7701 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3833, allocations: 187.7 kB / 0.7703 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.3833, allocations: 12 kB / 0.7703 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.3834, allocations: 47.73 kB / 0.7704 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.3837, allocations: 202.1 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3837, allocations: 0 / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3837, allocations: 0 / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3837, allocations: 0 / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004971/0.3842, allocations: 411.1 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3843, allocations: 12.03 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3843, allocations: 12.78 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.3845, allocations: 208 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3845, allocations: 4.312 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3845, allocations: 4.375 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3847, allocations: 73.98 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3847, allocations: 0 / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3847, allocations: 0 / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3847, allocations: 4 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3848, allocations: 43.97 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.3853, allocations: 392 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3855, allocations: 42.56 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.3855, allocations: 20.94 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.3856, allocations: 93.09 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3857, allocations: 34.56 kB / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3857, allocations: 0 / 0.7718 GB, free: 14.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002716/0.3859, allocations: 89.5 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.386, allocations: 51.41 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3861, allocations: 136.2 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3861, allocations: 25.81 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.3862, allocations: 108 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.3862, allocations: 3.906 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3863, allocations: 21.72 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.3864, allocations: 322.8 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.3864, allocations: 15.98 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.323e-05/0.3865, allocations: 12 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.3866, allocations: 40.78 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3866, allocations: 0 / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001466/0.3867, allocations: 69.58 kB / 0.7727 GB, free: 13.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3868, allocations: 14.66 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3868, allocations: 0 / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3868, allocations: 0 / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3869, allocations: 7.984 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.3869, allocations: 4 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.387, allocations: 7.875 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.387, allocations: 3.984 kB / 0.7727 GB, free: 13.8 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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 6.899e-05/0.387, allocations: 113.8 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3871, allocations: 7.906 kB / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3873, allocations: 93.84 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3873, allocations: 0 / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3873, allocations: 3.938 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.3874, allocations: 88.95 kB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3874, allocations: 4 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.3875, allocations: 0 / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3875, allocations: 7.984 kB / 0.773 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002094/0.3877, allocations: 152.9 kB / 0.7732 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002047/0.3879, allocations: 251 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.348e-05/0.388, allocations: 28.02 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.3881, allocations: 107.2 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Backend: time 2.31e-07/0.3881, allocations: 0 / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.3886, allocations: 162.2 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005245/0.3892, allocations: 0.6515 MB / 0.7743 GB, free: 12.02 MB / 0.545 GB Notification: Performance of Templates: time 0.004245/0.3934, allocations: 1.841 MB / 0.7761 GB, free: 10.2 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & ./BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1)