Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.000829, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01199/0.01199, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008025/0.0008025, allocations: 15.97 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.228, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001303/0.2294, allocations: 1.052 MB / 0.7889 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6541/0.8835, allocations: 144.3 MB / 0.9298 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.8836, allocations: 0 / 0.9298 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.072e-05/0.8837, allocations: 1.781 kB / 0.9298 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.8838, allocations: 16.52 kB / 0.9298 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008552/0.8846, allocations: 301.6 kB / 0.9301 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.8848, allocations: 83.09 kB / 0.9301 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.8848, allocations: 7.031 kB / 0.9301 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.8849, allocations: 31.81 kB / 0.9302 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.885, allocations: 38.14 kB / 0.9302 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.885, allocations: 3.031 kB / 0.9302 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007918/0.8858, allocations: 497.1 kB / 0.9307 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.8859, allocations: 16.33 kB / 0.9307 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.8859, allocations: 53.05 kB / 0.9308 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.8862, allocations: 190 kB / 0.9309 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8862, allocations: 3.625 kB / 0.9309 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8862, allocations: 0 / 0.9309 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.8862, allocations: 4 kB / 0.9309 GB, free: 1.699 MB / 0.7169 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.0005066/0.8868, allocations: 372.9 kB / 0.9313 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8868, allocations: 10.03 kB / 0.9313 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.8872, allocations: 39.91 kB / 0.9314 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.8873, allocations: 160.6 kB / 0.9315 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.8873, allocations: 6.625 kB / 0.9315 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.8874, allocations: 14.81 kB / 0.9315 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8876, allocations: 91.62 kB / 0.9316 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.8876, allocations: 4.922 kB / 0.9316 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.8876, allocations: 0 / 0.9316 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8876, allocations: 2.156 kB / 0.9316 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.8877, allocations: 46.23 kB / 0.9317 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.8879, allocations: 177.6 kB / 0.9318 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.8881, allocations: 106.4 kB / 0.9319 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.8881, allocations: 32.88 kB / 0.932 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.8884, allocations: 175.4 kB / 0.9321 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8884, allocations: 34.25 kB / 0.9322 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.8884, allocations: 2.625 kB / 0.9322 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001176/0.8896, allocations: 0.5401 MB / 0.9327 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.8896, allocations: 58.22 kB / 0.9328 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.8897, allocations: 98.47 kB / 0.9328 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.8897, allocations: 29.2 kB / 0.9329 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.8898, allocations: 84.64 kB / 0.933 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.8898, allocations: 73.98 kB / 0.933 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.8898, allocations: 27.69 kB / 0.933 GB, free: 16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.8899, allocations: 320 kB / 0.9334 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.89, allocations: 38.55 kB / 0.9334 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.8901, allocations: 62.61 kB / 0.9335 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.8902, allocations: 122.4 kB / 0.9336 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.8902, allocations: 0 / 0.9336 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001962/0.8904, allocations: 156.7 kB / 0.9337 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8904, allocations: 9.828 kB / 0.9337 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8905, allocations: 0 / 0.9337 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8905, allocations: 2.75 kB / 0.9337 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.8906, allocations: 41.95 kB / 0.9338 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8906, allocations: 3.062 kB / 0.9338 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.8907, allocations: 7.875 kB / 0.9338 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.8907, allocations: 5.75 kB / 0.9338 GB, free: 15.56 MB / 0.7325 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.509e-05/0.8908, allocations: 129.5 kB / 0.9339 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.8908, allocations: 9.375 kB / 0.9339 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.8909, allocations: 15.88 kB / 0.9339 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8909, allocations: 2.75 kB / 0.9339 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8909, allocations: 0 / 0.9339 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8909, allocations: 3.938 kB / 0.9339 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.891, allocations: 198.3 kB / 0.9341 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8911, allocations: 3.938 kB / 0.9341 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.8912, allocations: 39.92 kB / 0.9342 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8912, allocations: 4 kB / 0.9342 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.8913, allocations: 8.859 kB / 0.9342 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.8913, allocations: 0 / 0.9342 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8913, allocations: 0 / 0.9342 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.8915, allocations: 205.5 kB / 0.9344 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.8916, allocations: 90.72 kB / 0.9345 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.8916, allocations: 5.875 kB / 0.9345 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.8918, allocations: 10.94 kB / 0.9345 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.8918, allocations: 11.92 kB / 0.9345 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.8918, allocations: 15.8 kB / 0.9345 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.8919, allocations: 78.22 kB / 0.9346 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8919, allocations: 0 / 0.9346 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002094/0.8921, allocations: 24.31 kB / 0.9346 GB, free: 14.97 MB / 0.7325 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.0001356/0.8922, allocations: 108.2 kB / 0.9347 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.8924, allocations: 111.5 kB / 0.9348 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8924, allocations: 0 / 0.9348 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.8925, allocations: 56.69 kB / 0.9349 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.8927, allocations: 12.39 kB / 0.9349 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007611/0.8935, allocations: 0.6304 MB / 0.9355 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.8938, allocations: 0.6982 MB / 0.9362 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.8939, allocations: 23.8 kB / 0.9362 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.8939, allocations: 14.88 kB / 0.9362 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.8939, allocations: 0 / 0.9362 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.003313/0.8972, allocations: 1.07 MB / 0.9373 GB, free: 13.63 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: