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.004987/0.004987, allocations: 98.97 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.001476/0.001476, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.335/1.335, allocations: 222.9 MB / 240.4 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.00247/0.002471, allocations: 295.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 95.84 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3616, allocations: 86.97 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002246/0.3639, allocations: 1.338 MB / 0.7672 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1594/0.5233, allocations: 148.1 MB / 0.9118 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.5233, allocations: 0 / 0.9118 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.5234, allocations: 3.938 kB / 0.9118 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.5235, allocations: 11.92 kB / 0.9118 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008764/0.5244, allocations: 330.6 kB / 0.9121 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.5245, allocations: 63.81 kB / 0.9122 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.5245, allocations: 4 kB / 0.9122 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.5246, allocations: 35.84 kB / 0.9122 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.5247, allocations: 35.89 kB / 0.9123 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.5247, allocations: 4 kB / 0.9123 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008093/0.5255, allocations: 406.5 kB / 0.9127 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.5256, allocations: 19.91 kB / 0.9127 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5256, allocations: 19.94 kB / 0.9127 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.526, allocations: 165 kB / 0.9129 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.526, allocations: 0 / 0.9129 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.61e-07/0.526, allocations: 0 / 0.9129 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.526, allocations: 0 / 0.9129 GB, free: 12.78 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.0004675/0.5265, allocations: 387.1 kB / 0.9132 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5265, allocations: 8.031 kB / 0.9132 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.5266, allocations: 42.73 kB / 0.9133 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/0.527, allocations: 36.86 kB / 0.9133 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5271, allocations: 187.9 kB / 0.9135 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5271, allocations: 4 kB / 0.9135 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.5271, allocations: 12 kB / 0.9135 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.5273, allocations: 73.66 kB / 0.9136 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5273, allocations: 0 / 0.9136 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5273, allocations: 0 / 0.9136 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5273, allocations: 4 kB / 0.9136 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.5274, allocations: 43.95 kB / 0.9136 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.5277, allocations: 193.5 kB / 0.9138 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.5278, allocations: 90.55 kB / 0.9139 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.5279, allocations: 36.92 kB / 0.9139 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.5282, allocations: 178.2 kB / 0.9141 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5282, allocations: 34.89 kB / 0.9141 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 2.895e-06/0.5282, allocations: 0 / 0.9141 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001319/0.5295, allocations: 0.5405 MB / 0.9147 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.5296, allocations: 63.33 kB / 0.9147 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.5297, allocations: 105.8 kB / 0.9148 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.5297, allocations: 29.7 kB / 0.9149 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.5298, allocations: 88.44 kB / 0.9149 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.5298, allocations: 71.38 kB / 0.915 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.5299, allocations: 41.72 kB / 0.915 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.53, allocations: 318.8 kB / 0.9153 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.5301, allocations: 31.98 kB / 0.9154 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.5302, allocations: 75.52 kB / 0.9155 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.5304, allocations: 115.4 kB / 0.9156 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5304, allocations: 0 / 0.9156 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002335/0.5306, allocations: 157.5 kB / 0.9157 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5307, allocations: 4 kB / 0.9157 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5307, allocations: 4 kB / 0.9157 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5307, allocations: 3.984 kB / 0.9157 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.5309, allocations: 39.98 kB / 0.9158 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.5309, allocations: 3.938 kB / 0.9158 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.5309, allocations: 16.06 kB / 0.9158 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.531, allocations: 8 kB / 0.9158 GB, free: 9.445 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.007e-05/0.5311, allocations: 113.8 kB / 0.9159 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.5311, allocations: 11.95 kB / 0.9159 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.5311, allocations: 20.42 kB / 0.9159 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5311, allocations: 0 / 0.9159 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5312, allocations: 3.938 kB / 0.9159 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.5312, allocations: 8 kB / 0.9159 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.5313, allocations: 189.6 kB / 0.9161 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5314, allocations: 0 / 0.9161 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5316, allocations: 39.92 kB / 0.9162 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5316, allocations: 0 / 0.9162 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.5316, allocations: 8 kB / 0.9162 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5316, allocations: 0 / 0.9162 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5316, allocations: 3.938 kB / 0.9162 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.5319, allocations: 211 kB / 0.9164 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.532, allocations: 96.98 kB / 0.9165 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.5321, allocations: 0 / 0.9165 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5322, allocations: 12.05 kB / 0.9165 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.5322, allocations: 15.86 kB / 0.9165 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5322, allocations: 8 kB / 0.9165 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.5323, allocations: 79.28 kB / 0.9166 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5323, allocations: 0 / 0.9166 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002203/0.5325, allocations: 28 kB / 0.9166 GB, free: 8.523 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.0006133/0.5331, allocations: 0.7491 MB / 0.9173 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.5334, allocations: 106.1 kB / 0.9174 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5334, allocations: 0 / 0.9174 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.5335, allocations: 59.92 kB / 0.9175 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.5337, allocations: 16.08 kB / 0.9175 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.5357, allocations: 1.845 MB / 0.9193 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.5361, allocations: 0.6969 MB / 0.92 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.5362, allocations: 20.62 kB / 0.92 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.5362, allocations: 27.42 kB / 0.92 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of SimCode: time 2.51e-07/0.5363, allocations: 0 / 0.92 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.5596, allocations: 2.426 MB / 0.9224 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.982, allocations: 12 kB / 0.9224 GB, free: 2.508 MB / 0.6856 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)