Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001686/0.001686, allocations: 192.3 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.321/1.321, allocations: 222.9 MB / 241.1 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.002114/0.002114, allocations: 294.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9262/0.9262, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 95.84 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3788, allocations: 86.99 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002014/0.3809, allocations: 1.327 MB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1411/0.522, allocations: 148.1 MB / 0.9129 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.522, allocations: 0 / 0.9129 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.5221, allocations: 0 / 0.9129 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.849e-05/0.5222, allocations: 15.86 kB / 0.913 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.523, allocations: 330.6 kB / 0.9133 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.5231, allocations: 67.75 kB / 0.9133 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.02e-05/0.5232, allocations: 4 kB / 0.9133 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.5232, allocations: 35.91 kB / 0.9134 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.5233, allocations: 31.89 kB / 0.9134 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.5233, allocations: 0 / 0.9134 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.524, allocations: 410.3 kB / 0.9138 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.5241, allocations: 23.91 kB / 0.9138 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.5241, allocations: 31.86 kB / 0.9139 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.5244, allocations: 154.4 kB / 0.914 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.5244, allocations: 0 / 0.914 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5244, allocations: 0 / 0.914 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.5244, allocations: 0 / 0.914 GB, free: 12.86 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003964/0.5248, allocations: 395.3 kB / 0.9144 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5249, allocations: 8.031 kB / 0.9144 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.5253, allocations: 36.91 kB / 0.9144 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.466e-05/0.5254, allocations: 168.2 kB / 0.9146 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.5254, allocations: 15.92 kB / 0.9146 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.5254, allocations: 8 kB / 0.9146 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.5256, allocations: 73.59 kB / 0.9147 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5256, allocations: 0 / 0.9147 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.5256, allocations: 8 kB / 0.9147 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5256, allocations: 0 / 0.9147 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.5257, allocations: 47.89 kB / 0.9147 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.5259, allocations: 205.5 kB / 0.9149 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5261, allocations: 86.61 kB / 0.915 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.5261, allocations: 28.94 kB / 0.915 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.5263, allocations: 178.2 kB / 0.9152 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5264, allocations: 38.56 kB / 0.9152 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 2.464e-06/0.5264, allocations: 0 / 0.9152 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001186/0.5276, allocations: 0.5372 MB / 0.9158 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.5276, allocations: 63.39 kB / 0.9158 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/0.5277, allocations: 93.86 kB / 0.9159 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.5277, allocations: 29.7 kB / 0.9159 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.5277, allocations: 84.52 kB / 0.916 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.5278, allocations: 78.78 kB / 0.9161 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.5279, allocations: 37.72 kB / 0.9161 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.528, allocations: 322.8 kB / 0.9164 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.528, allocations: 36.11 kB / 0.9165 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-05/0.5281, allocations: 74.86 kB / 0.9166 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.5283, allocations: 115.3 kB / 0.9167 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5283, allocations: 0 / 0.9167 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002141/0.5285, allocations: 157.4 kB / 0.9168 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.5285, allocations: 4 kB / 0.9168 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5285, allocations: 4 kB / 0.9168 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5285, allocations: 4 kB / 0.9168 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.5287, allocations: 43.92 kB / 0.9169 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5287, allocations: 0 / 0.9169 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.5288, allocations: 11.94 kB / 0.9169 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5288, allocations: 4 kB / 0.9169 GB, free: 9.59 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.483e-05/0.5289, allocations: 121.8 kB / 0.917 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.5289, allocations: 8 kB / 0.917 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.529, allocations: 20.42 kB / 0.917 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.529, allocations: 128 / 0.917 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.529, allocations: 8 kB / 0.917 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.529, allocations: 96.94 kB / 0.9171 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.5291, allocations: 7.938 kB / 0.9171 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5292, allocations: 4 kB / 0.9171 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.5292, allocations: 11.98 kB / 0.9171 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003507/0.5296, allocations: 235.1 kB / 0.9174 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003439/0.5299, allocations: 370.5 kB / 0.9177 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.06e-05/0.53, allocations: 54.03 kB / 0.9178 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.5301, allocations: 79.28 kB / 0.9179 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of Backend: time 1.8e-07/0.5301, allocations: 0 / 0.9179 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005346/0.5306, allocations: 234.5 kB / 0.9181 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0007579/0.5314, allocations: 0.9277 MB / 0.919 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of Templates: time 0.004823/0.5362, allocations: 2.384 MB / 0.9213 GB, free: 4.953 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)