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: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.55/1.55, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.814/1.814, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001491/0.001491, allocations: 70.19 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 114.6 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00277/0.252, allocations: 1.342 MB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6348/0.8869, allocations: 148.1 MB / 0.9294 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.8869, allocations: 2.625 kB / 0.9294 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.887, allocations: 5.859 kB / 0.9294 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.8871, allocations: 14.22 kB / 0.9294 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.8882, allocations: 329.1 kB / 0.9297 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.8883, allocations: 60.86 kB / 0.9298 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.009e-05/0.8883, allocations: 5.781 kB / 0.9298 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.8883, allocations: 34.73 kB / 0.9298 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.8884, allocations: 34.61 kB / 0.9298 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.8884, allocations: 4 kB / 0.9298 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.8893, allocations: 410.2 kB / 0.9302 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.8894, allocations: 16.56 kB / 0.9303 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.8894, allocations: 29.86 kB / 0.9303 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.8898, allocations: 156.7 kB / 0.9304 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8898, allocations: 0.6094 kB / 0.9304 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8898, allocations: 0 / 0.9304 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.8898, allocations: 0 / 0.9304 GB, free: 2.891 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.0008012/0.8907, allocations: 392.3 kB / 0.9308 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8907, allocations: 12.66 kB / 0.9308 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.8908, allocations: 37.42 kB / 0.9309 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.8912, allocations: 33.58 kB / 0.9309 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.8914, allocations: 169.1 kB / 0.9311 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.8914, allocations: 6.844 kB / 0.9311 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.8914, allocations: 12.94 kB / 0.9311 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.8918, allocations: 83.41 kB / 0.9311 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.8918, allocations: 0 / 0.9311 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.8918, allocations: 2.875 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8918, allocations: 1.312 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.892, allocations: 44.5 kB / 0.9312 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.8922, allocations: 190 kB / 0.9314 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.8924, allocations: 98.02 kB / 0.9315 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.8925, allocations: 33.25 kB / 0.9315 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.8928, allocations: 174.2 kB / 0.9317 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.8929, allocations: 34.05 kB / 0.9317 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.8929, allocations: 1.203 kB / 0.9317 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.00172/0.8946, allocations: 0.5499 MB / 0.9322 GB, free: 17.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.8947, allocations: 53.91 kB / 0.9323 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.8948, allocations: 98.45 kB / 0.9324 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.8949, allocations: 32.5 kB / 0.9324 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.895, allocations: 84.64 kB / 0.9325 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.8951, allocations: 76.03 kB / 0.9326 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.8951, allocations: 44.19 kB / 0.9326 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002674/0.8954, allocations: 318.7 kB / 0.9329 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.8955, allocations: 39.84 kB / 0.933 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.8956, allocations: 65.05 kB / 0.933 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.8958, allocations: 118.6 kB / 0.9331 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8959, allocations: 0 / 0.9331 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002519/0.8961, allocations: 154.2 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.8961, allocations: 8.984 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8962, allocations: 0 / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.8962, allocations: 2.531 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.8964, allocations: 36.88 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.8964, allocations: 0 / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.8965, allocations: 11.58 kB / 0.9333 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.8965, allocations: 9.25 kB / 0.9333 GB, free: 16.71 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 0.000147/0.8966, allocations: 124.6 kB / 0.9335 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.8967, allocations: 13.14 kB / 0.9335 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.107e-05/0.8967, allocations: 15.94 kB / 0.9335 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.8968, allocations: 3.422 kB / 0.9335 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.8968, allocations: 0 / 0.9335 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.8968, allocations: 4.5 kB / 0.9335 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.897, allocations: 195.4 kB / 0.9337 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.897, allocations: 0 / 0.9337 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.8972, allocations: 43.14 kB / 0.9337 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.8973, allocations: 5.078 kB / 0.9337 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.8973, allocations: 4.719 kB / 0.9337 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8973, allocations: 0 / 0.9337 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8973, allocations: 0 / 0.9337 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.8977, allocations: 218.5 kB / 0.9339 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.8979, allocations: 92.23 kB / 0.934 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.8979, allocations: 1.094 kB / 0.934 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.898, allocations: 18.81 kB / 0.934 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.8981, allocations: 13.27 kB / 0.9341 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.8981, allocations: 9.266 kB / 0.9341 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.8981, allocations: 78.84 kB / 0.9341 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8981, allocations: 1.094 kB / 0.9341 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002388/0.8984, allocations: 28.75 kB / 0.9342 GB, free: 16.12 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.000816/0.8992, allocations: 0.7502 MB / 0.9349 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.8994, allocations: 115 kB / 0.935 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8994, allocations: 1.438 kB / 0.935 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.8995, allocations: 52.83 kB / 0.9351 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.8998, allocations: 25.42 kB / 0.9351 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.9017, allocations: 1.814 MB / 0.9369 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.9021, allocations: 0.7046 MB / 0.9375 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.9023, allocations: 17.81 kB / 0.9376 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.9023, allocations: 24.95 kB / 0.9376 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9023, allocations: 5.125 kB / 0.9376 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.925, allocations: 2.368 MB / 0.9399 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.561, allocations: 18.25 kB / 0.9399 GB, free: 12.93 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)