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: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001235/0.001235, allocations: 108 kB / 15.6 MB, free: 132 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.001184/0.001184, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 283 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 96.39 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1453, allocations: 89.16 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002315/0.1476, allocations: 1.322 MB / 0.6949 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4059/0.5536, allocations: 148.1 MB / 0.8395 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.5537, allocations: 0 / 0.8395 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.5537, allocations: 3.938 kB / 0.8395 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.5538, allocations: 18.88 kB / 0.8395 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.5547, allocations: 315.2 kB / 0.8398 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.5548, allocations: 63.98 kB / 0.8399 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.5548, allocations: 7.141 kB / 0.8399 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.301e-05/0.5549, allocations: 35.38 kB / 0.8399 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.5549, allocations: 32.38 kB / 0.84 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.555, allocations: 3.156 kB / 0.84 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.5557, allocations: 409 kB / 0.8404 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.5558, allocations: 25.58 kB / 0.8404 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.5558, allocations: 20.03 kB / 0.8404 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.5561, allocations: 159.9 kB / 0.8405 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.5561, allocations: 2.562 kB / 0.8406 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5561, allocations: 3.938 kB / 0.8406 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.5562, allocations: 4 kB / 0.8406 GB, free: 11.64 MB / 0.5762 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.0004577/0.5566, allocations: 386.4 kB / 0.8409 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.5567, allocations: 13.88 kB / 0.8409 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.5567, allocations: 41.86 kB / 0.841 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.5571, allocations: 36.41 kB / 0.841 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.5572, allocations: 163.3 kB / 0.8412 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5572, allocations: 6.781 kB / 0.8412 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5573, allocations: 16.97 kB / 0.8412 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.5574, allocations: 76.52 kB / 0.8413 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5574, allocations: 0 / 0.8413 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5575, allocations: 6.406 kB / 0.8413 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.5575, allocations: 0 / 0.8413 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.5575, allocations: 46.2 kB / 0.8413 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.5578, allocations: 194 kB / 0.8415 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.5579, allocations: 87.33 kB / 0.8416 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.558, allocations: 38.58 kB / 0.8416 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.5582, allocations: 178.6 kB / 0.8418 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5583, allocations: 36.75 kB / 0.8418 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.5583, allocations: 0 / 0.8418 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001245/0.5595, allocations: 0.5479 MB / 0.8424 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.5596, allocations: 53.94 kB / 0.8424 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.5597, allocations: 104.4 kB / 0.8425 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.5597, allocations: 31.23 kB / 0.8425 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.5597, allocations: 84.64 kB / 0.8426 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.5598, allocations: 63.7 kB / 0.8427 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.5599, allocations: 47.58 kB / 0.8427 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.56, allocations: 320.8 kB / 0.843 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.5601, allocations: 36.7 kB / 0.8431 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.5602, allocations: 70.39 kB / 0.8431 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5603, allocations: 120.9 kB / 0.8433 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.5603, allocations: 1.781 kB / 0.8433 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002095/0.5605, allocations: 152.8 kB / 0.8434 GB, free: 9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5606, allocations: 9.297 kB / 0.8434 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5606, allocations: 1.625 kB / 0.8434 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5606, allocations: 3.406 kB / 0.8434 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5608, allocations: 39.27 kB / 0.8435 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5608, allocations: 1.625 kB / 0.8435 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.5608, allocations: 11.12 kB / 0.8435 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.5608, allocations: 8.812 kB / 0.8435 GB, free: 8.977 MB / 0.5762 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.3e-05/0.5609, allocations: 123 kB / 0.8436 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.561, allocations: 9.484 kB / 0.8436 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.561, allocations: 16.44 kB / 0.8436 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.561, allocations: 2.75 kB / 0.8436 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.561, allocations: 0 / 0.8436 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.561, allocations: 7.922 kB / 0.8436 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.5612, allocations: 192.9 kB / 0.8438 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5612, allocations: 1.375 kB / 0.8438 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.5614, allocations: 38.23 kB / 0.8438 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5614, allocations: 1.375 kB / 0.8438 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.5614, allocations: 7.875 kB / 0.8439 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5614, allocations: 1.562 kB / 0.8439 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5615, allocations: 1.375 kB / 0.8439 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.5617, allocations: 212.7 kB / 0.8441 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.5618, allocations: 94.59 kB / 0.8442 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5619, allocations: 1.375 kB / 0.8442 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.562, allocations: 12.12 kB / 0.8442 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.562, allocations: 13.42 kB / 0.8442 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.562, allocations: 8.125 kB / 0.8442 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.5621, allocations: 82.02 kB / 0.8443 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5621, allocations: 0 / 0.8443 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000211/0.5623, allocations: 30 kB / 0.8443 GB, free: 8.246 MB / 0.5762 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.000581/0.5629, allocations: 0.7514 MB / 0.845 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.5631, allocations: 124.8 kB / 0.8451 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5631, allocations: 0 / 0.8451 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.5632, allocations: 50.48 kB / 0.8452 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.5634, allocations: 24.47 kB / 0.8452 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.5653, allocations: 1.809 MB / 0.847 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.5656, allocations: 0.7007 MB / 0.8477 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.5658, allocations: 19.73 kB / 0.8477 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.349e-05/0.5658, allocations: 30.89 kB / 0.8477 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5658, allocations: 4 kB / 0.8477 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.5898, allocations: 2.4 MB / 0.8501 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.826, allocations: 6.609 kB / 0.8501 GB, free: 3.887 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)