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.0009586/0.0009587, allocations: 107.9 kB / 16.41 MB, free: 5.996 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.001061/0.001061, allocations: 191 kB / 17.35 MB, free: 5.605 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.294/1.294, 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.00208/0.00208, allocations: 282.6 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.9364/0.9364, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3723, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002023/0.3744, allocations: 1.331 MB / 0.7683 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1423/0.5167, allocations: 148.1 MB / 0.913 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.5168, allocations: 4 kB / 0.913 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.5169, allocations: 3.938 kB / 0.913 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 9.106e-05/0.517, allocations: 11.92 kB / 0.913 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.5179, allocations: 342.6 kB / 0.9133 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.518, allocations: 59.83 kB / 0.9134 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.518, allocations: 4 kB / 0.9134 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.5181, allocations: 35.84 kB / 0.9134 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.5182, allocations: 35.89 kB / 0.9134 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.5182, allocations: 4 kB / 0.9134 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.519, allocations: 410.4 kB / 0.9138 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.5191, allocations: 19.91 kB / 0.9138 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.5191, allocations: 23.92 kB / 0.9139 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.5195, allocations: 162.3 kB / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5195, allocations: 4 kB / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5195, allocations: 0 / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.5195, allocations: 0 / 0.914 GB, free: 12.82 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.0004191/0.5199, allocations: 391.3 kB / 0.9144 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.52, allocations: 8.031 kB / 0.9144 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.5204, allocations: 32.91 kB / 0.9144 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.211e-05/0.5205, allocations: 172.3 kB / 0.9146 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.5205, allocations: 7.938 kB / 0.9146 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.5205, allocations: 15.94 kB / 0.9146 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.5207, allocations: 77.59 kB / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5207, allocations: 4 kB / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5207, allocations: 0 / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5207, allocations: 0 / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.5208, allocations: 51.89 kB / 0.9147 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.521, allocations: 193.5 kB / 0.9149 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.5212, allocations: 94.62 kB / 0.915 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.5213, allocations: 32.84 kB / 0.9151 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.5215, allocations: 174.2 kB / 0.9152 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5215, allocations: 34.56 kB / 0.9153 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5215, allocations: 0 / 0.9153 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.00127/0.5228, allocations: 0.5418 MB / 0.9158 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.5228, allocations: 55.41 kB / 0.9158 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.5229, allocations: 93.86 kB / 0.9159 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.5229, allocations: 37.83 kB / 0.916 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.523, allocations: 84.5 kB / 0.916 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.523, allocations: 78.78 kB / 0.9161 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.5231, allocations: 37.72 kB / 0.9162 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5232, allocations: 326.8 kB / 0.9165 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.5233, allocations: 35.97 kB / 0.9165 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.5234, allocations: 70.25 kB / 0.9166 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5235, allocations: 115.4 kB / 0.9167 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5235, allocations: 4 kB / 0.9167 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002219/0.5238, allocations: 157.5 kB / 0.9168 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5238, allocations: 6.656 kB / 0.9168 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5238, allocations: 0 / 0.9168 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5238, allocations: 4 kB / 0.9168 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.524, allocations: 39.92 kB / 0.9169 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.524, allocations: 0 / 0.9169 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.5241, allocations: 15.94 kB / 0.9169 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5241, allocations: 4.125 kB / 0.9169 GB, free: 9.551 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 9.153e-05/0.5242, allocations: 121.8 kB / 0.917 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.5242, allocations: 11.98 kB / 0.917 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.5243, allocations: 16.44 kB / 0.917 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5243, allocations: 7.984 kB / 0.917 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5243, allocations: 0 / 0.917 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.5244, allocations: 96.94 kB / 0.9171 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.5244, allocations: 0 / 0.9171 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.5245, allocations: 15.98 kB / 0.9172 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.5246, allocations: 11.98 kB / 0.9172 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000356/0.5249, allocations: 238.8 kB / 0.9174 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003497/0.5253, allocations: 362.5 kB / 0.9177 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.602e-05/0.5254, allocations: 53.92 kB / 0.9178 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.5254, allocations: 79.28 kB / 0.9179 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of Backend: time 4.71e-07/0.5254, allocations: 0 / 0.9179 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.526, allocations: 230.1 kB / 0.9181 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0007894/0.5268, allocations: 0.9277 MB / 0.919 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of Templates: time 0.005025/0.5319, allocations: 2.383 MB / 0.9213 GB, free: 4.918 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)