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.001316/0.001317, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00147/0.00147, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.261/1.261, 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.002129/0.002129, allocations: 295.8 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.8979/0.8979, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 95.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3899, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002527/0.3925, allocations: 1.337 MB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.5354, allocations: 148.1 MB / 0.9129 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.5355, allocations: 4 kB / 0.9129 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.5356, allocations: 3.938 kB / 0.913 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.5357, allocations: 11.91 kB / 0.913 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.5368, allocations: 342.5 kB / 0.9133 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.5369, allocations: 67.75 kB / 0.9134 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.5369, allocations: 0 / 0.9134 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.537, allocations: 31.91 kB / 0.9134 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.5371, allocations: 35.89 kB / 0.9134 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.5371, allocations: 8 kB / 0.9134 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008315/0.538, allocations: 414.3 kB / 0.9138 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.538, allocations: 19.91 kB / 0.9138 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.5381, allocations: 23.92 kB / 0.9139 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.5385, allocations: 158.4 kB / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5385, allocations: 0 / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5385, allocations: 0 / 0.914 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.5385, 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.0004842/0.539, allocations: 395.3 kB / 0.9144 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.539, allocations: 8.031 kB / 0.9144 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.5394, allocations: 36.91 kB / 0.9144 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5396, allocations: 172.2 kB / 0.9146 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.5396, allocations: 7.938 kB / 0.9146 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.5396, allocations: 8 kB / 0.9146 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5398, allocations: 77.59 kB / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5398, allocations: 0 / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.5398, allocations: 4 kB / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5399, allocations: 4 kB / 0.9147 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.129e-05/0.5399, allocations: 43.95 kB / 0.9147 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.5402, allocations: 193.5 kB / 0.9149 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.5403, allocations: 90.64 kB / 0.915 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.5404, allocations: 32.83 kB / 0.915 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.5406, allocations: 178.2 kB / 0.9152 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5407, allocations: 34.56 kB / 0.9152 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.5407, allocations: 0 / 0.9152 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001264/0.542, allocations: 0.545 MB / 0.9158 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.542, allocations: 55.41 kB / 0.9158 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.5421, allocations: 101.8 kB / 0.9159 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.5421, allocations: 29.7 kB / 0.916 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.5421, allocations: 80.52 kB / 0.916 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.5422, allocations: 78.78 kB / 0.9161 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.5422, allocations: 41.84 kB / 0.9161 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.5423, allocations: 322.8 kB / 0.9165 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.5424, allocations: 35.98 kB / 0.9165 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.5425, allocations: 74.23 kB / 0.9166 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5427, allocations: 115.4 kB / 0.9167 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5427, allocations: 0 / 0.9167 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002194/0.5429, allocations: 165.4 kB / 0.9168 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5429, allocations: 4 kB / 0.9168 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5429, allocations: 4 kB / 0.9168 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.543, allocations: 0 / 0.9168 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.5431, allocations: 35.98 kB / 0.9169 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5431, allocations: 0 / 0.9169 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.5432, allocations: 11.94 kB / 0.9169 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5432, allocations: 7.938 kB / 0.9169 GB, free: 9.555 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.286e-05/0.5433, allocations: 120.2 kB / 0.917 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.5433, allocations: 15.98 kB / 0.917 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.5434, allocations: 20.42 kB / 0.917 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5434, allocations: 0 / 0.917 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5434, allocations: 4 kB / 0.917 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5434, allocations: 3.938 kB / 0.917 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5436, allocations: 189.6 kB / 0.9172 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5436, allocations: 4 kB / 0.9172 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.5438, allocations: 35.92 kB / 0.9173 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5438, allocations: 0 / 0.9173 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5438, allocations: 8 kB / 0.9173 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5438, allocations: 128 / 0.9173 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5438, allocations: 8 kB / 0.9173 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.5442, allocations: 210.8 kB / 0.9175 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.5442, allocations: 97.06 kB / 0.9176 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5443, allocations: 3.938 kB / 0.9176 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.5444, allocations: 11.98 kB / 0.9176 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.5444, allocations: 11.92 kB / 0.9176 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5444, allocations: 12 kB / 0.9176 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.5445, allocations: 79.28 kB / 0.9177 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.653e-06/0.5445, allocations: 0 / 0.9177 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002189/0.5447, allocations: 27.94 kB / 0.9177 GB, free: 8.621 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001309/0.5448, allocations: 103.2 kB / 0.9178 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5451, allocations: 116.1 kB / 0.9179 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5451, allocations: 0 / 0.9179 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.5452, allocations: 63.94 kB / 0.918 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.5454, allocations: 17.83 kB / 0.918 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/0.5462, allocations: 0.5302 MB / 0.9185 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.5465, allocations: 0.7047 MB / 0.9192 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.5465, allocations: 15.44 kB / 0.9192 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of SimCode: time 2.21e-07/0.5466, allocations: 4 kB / 0.9192 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of Templates: time 0.002935/0.5495, allocations: 1.304 MB / 0.9205 GB, free: 5.695 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)