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.004396/0.004396, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001288/0.001288, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002581/0.002581, allocations: 293.2 kB / 290.8 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 1.209/1.209, allocations: 178.5 MB / 0.5074 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 99.84 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3652, allocations: 89.13 MB / 0.7813 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001823/0.367, allocations: 1.336 MB / 0.7826 GB, free: 72 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.5415, allocations: 148.1 MB / 0.9272 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.5416, allocations: 4 kB / 0.9272 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.5417, allocations: 3.984 kB / 0.9272 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 9.061e-05/0.5418, allocations: 11.86 kB / 0.9273 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009067/0.5427, allocations: 330.6 kB / 0.9276 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.5428, allocations: 63.77 kB / 0.9276 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.5428, allocations: 7.984 kB / 0.9276 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.5429, allocations: 27.91 kB / 0.9277 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.543, allocations: 35.91 kB / 0.9277 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.543, allocations: 0 / 0.9277 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.5438, allocations: 410.6 kB / 0.9281 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.5439, allocations: 19.91 kB / 0.9281 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.5439, allocations: 23.92 kB / 0.9281 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.5443, allocations: 165.7 kB / 0.9283 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5443, allocations: 0 / 0.9283 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5443, allocations: 0 / 0.9283 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.5443, allocations: 0 / 0.9283 GB, free: 1.672 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.000481/0.5448, allocations: 387.1 kB / 0.9287 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5448, allocations: 11.97 kB / 0.9287 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.5449, allocations: 42.73 kB / 0.9287 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.5453, allocations: 36.86 kB / 0.9287 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5454, allocations: 180 kB / 0.9289 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.5454, allocations: 0 / 0.9289 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.5455, allocations: 15.95 kB / 0.9289 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.5457, allocations: 81.58 kB / 0.929 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5457, allocations: 0 / 0.929 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5457, allocations: 4 kB / 0.929 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.5457, allocations: 4 kB / 0.929 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.5458, allocations: 43.89 kB / 0.9291 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.546, allocations: 189.5 kB / 0.9292 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.5462, allocations: 90.69 kB / 0.9293 GB, free: 460 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.5463, allocations: 33.17 kB / 0.9294 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.5466, allocations: 182.2 kB / 0.9295 GB, free: 204 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.5466, allocations: 34.5 kB / 0.9296 GB, free: 160 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.5466, allocations: 4 kB / 0.9296 GB, free: 156 kB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001364/0.548, allocations: 0.5396 MB / 0.9301 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.548, allocations: 55.41 kB / 0.9302 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.5481, allocations: 105.8 kB / 0.9303 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.5481, allocations: 33.7 kB / 0.9303 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.5482, allocations: 84.5 kB / 0.9304 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-05/0.5483, allocations: 67.39 kB / 0.9304 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.5483, allocations: 41.7 kB / 0.9305 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5485, allocations: 322.8 kB / 0.9308 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.5486, allocations: 31.98 kB / 0.9308 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.5487, allocations: 74.38 kB / 0.9309 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.5488, allocations: 115.3 kB / 0.931 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5489, allocations: 8 kB / 0.931 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002441/0.5491, allocations: 157.5 kB / 0.9311 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5491, allocations: 7.984 kB / 0.9312 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5491, allocations: 0 / 0.9312 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5492, allocations: 4 kB / 0.9312 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.5493, allocations: 39.98 kB / 0.9312 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5494, allocations: 7.875 kB / 0.9312 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.5494, allocations: 11.98 kB / 0.9312 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.5494, allocations: 8 kB / 0.9312 GB, free: 14.34 MB / 0.7012 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.134e-05/0.5495, allocations: 113.8 kB / 0.9313 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.5496, allocations: 7.953 kB / 0.9313 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.5496, allocations: 16.44 kB / 0.9314 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5496, allocations: 4 kB / 0.9314 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5496, allocations: 3.938 kB / 0.9314 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5496, allocations: 7.984 kB / 0.9314 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.5498, allocations: 193.6 kB / 0.9316 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5498, allocations: 3.938 kB / 0.9316 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.5501, allocations: 35.98 kB / 0.9316 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5501, allocations: 0 / 0.9316 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5501, allocations: 4 kB / 0.9316 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5501, allocations: 4 kB / 0.9316 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5501, allocations: 3.938 kB / 0.9316 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.5504, allocations: 212.9 kB / 0.9318 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.5505, allocations: 92.98 kB / 0.9319 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.5506, allocations: 7.938 kB / 0.9319 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5507, allocations: 8.062 kB / 0.9319 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.5507, allocations: 11.92 kB / 0.9319 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5508, allocations: 8.25 kB / 0.9319 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.5508, allocations: 83.27 kB / 0.932 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5508, allocations: 0 / 0.932 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002268/0.5511, allocations: 28 kB / 0.932 GB, free: 13.41 MB / 0.7012 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.0006552/0.5517, allocations: 0.7584 MB / 0.9328 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.5519, allocations: 104 kB / 0.9329 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.552, allocations: 0 / 0.9329 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.552, allocations: 58.16 kB / 0.9329 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.5523, allocations: 19.92 kB / 0.9329 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.5543, allocations: 1.821 MB / 0.9347 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.5547, allocations: 0.7008 MB / 0.9354 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.5548, allocations: 20.64 kB / 0.9354 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.5549, allocations: 27.42 kB / 0.9355 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of SimCode: time 2.81e-07/0.5549, allocations: 0 / 0.9355 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.5792, allocations: 2.449 MB / 0.9379 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.406, allocations: 13.33 kB / 0.9379 GB, free: 7.391 MB / 0.7012 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)