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.001232/0.001232, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001205/0.001205, allocations: 181.2 kB / 17.34 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 291.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.9846/0.9846, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 99.84 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4223, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002871/0.4252, allocations: 1.736 MB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.4269, allocations: 1.03 MB / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.4269, allocations: 0 / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.427, allocations: 15.86 kB / 0.7697 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.4271, allocations: 27.72 kB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.4276, allocations: 167.4 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.4277, allocations: 95.47 kB / 0.77 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4279, allocations: 32 kB / 0.77 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.4279, allocations: 31.92 kB / 0.7701 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.428, allocations: 47.78 kB / 0.7701 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.4281, allocations: 8 kB / 0.7701 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.4284, allocations: 183.8 kB / 0.7703 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.4284, allocations: 11.98 kB / 0.7703 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.4285, allocations: 51.72 kB / 0.7704 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.4288, allocations: 197.3 kB / 0.7705 GB, free: 312 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4288, allocations: 4 kB / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4288, allocations: 0 / 0.7705 GB, free: 308 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4288, allocations: 4 kB / 0.7706 GB, free: 304 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.0006517/0.4295, allocations: 426.6 kB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4295, allocations: 12.03 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.4296, allocations: 8.891 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.4298, allocations: 188.2 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4298, allocations: 4.375 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.4298, allocations: 4.375 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.43, allocations: 73.97 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.43, allocations: 4 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.43, allocations: 4 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4301, allocations: 4 kB / 0.7712 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.4302, allocations: 43.97 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.4308, allocations: 392 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4309, allocations: 46.56 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.431, allocations: 24.88 kB / 0.7717 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.4311, allocations: 81.11 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4311, allocations: 30.56 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4311, allocations: 112 / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000295/0.4314, allocations: 93.55 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4315, allocations: 51.41 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4316, allocations: 148.8 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4316, allocations: 25.7 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.4317, allocations: 104 kB / 0.7722 GB, free: 14.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4317, allocations: 11.89 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.4318, allocations: 13.72 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4319, allocations: 318.8 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.432, allocations: 15.94 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/0.432, allocations: 23.98 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4321, allocations: 36.84 kB / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4321, allocations: 0 / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001591/0.4323, allocations: 73.94 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4323, allocations: 6.344 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4323, allocations: 0 / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4323, allocations: 0 / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4324, allocations: 15.98 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4324, allocations: 3.938 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.4325, allocations: 11.94 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.4325, allocations: 0 / 0.7728 GB, free: 13.79 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 9.688e-05/0.4326, allocations: 117.8 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.4326, allocations: 7.953 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.4328, allocations: 81.91 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4328, allocations: 0 / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4329, allocations: 0 / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4329, allocations: 3.938 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4331, allocations: 193.6 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4331, allocations: 0 / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.4332, allocations: 11.98 kB / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4332, allocations: 0 / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4332, allocations: 0 / 0.7731 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4332, allocations: 7.938 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4332, allocations: 0 / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.4334, allocations: 175.4 kB / 0.7733 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.4334, allocations: 81.06 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4335, allocations: 7.922 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.4335, allocations: 8 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.4336, allocations: 3.938 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4336, allocations: 4 kB / 0.7734 GB, free: 13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.4337, allocations: 113.3 kB / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4337, allocations: 0 / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003108/0.434, allocations: 55.81 kB / 0.7736 GB, free: 12.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002897/0.4343, allocations: 167 kB / 0.7737 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.4344, allocations: 43.84 kB / 0.7738 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4345, allocations: 0 / 0.7738 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.4345, allocations: 19.98 kB / 0.7738 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4348, allocations: 19.94 kB / 0.7738 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.4352, allocations: 214.8 kB / 0.774 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4356, allocations: 0.6923 MB / 0.7747 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.4356, allocations: 8 kB / 0.7747 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4356, allocations: 7.438 kB / 0.7747 GB, free: 11.61 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4356, allocations: 4 kB / 0.7747 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Templates: time 0.004858/0.4405, allocations: 1.787 MB / 0.7765 GB, free: 9.828 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1)