Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001311/0.001311, allocations: 108.3 kB / 16.41 MB, free: 6.445 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.001266/0.001266, allocations: 191.9 kB / 17.34 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8389/0.8389, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 64.41 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1445, allocations: 78.87 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002287/0.1468, allocations: 1.32 MB / 0.6518 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4842/0.6311, allocations: 148.1 MB / 0.7964 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.6312, allocations: 1.5 kB / 0.7964 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.6312, allocations: 2.578 kB / 0.7964 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.6314, allocations: 14.41 kB / 0.7965 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.6324, allocations: 329 kB / 0.7968 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.6325, allocations: 65.95 kB / 0.7968 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.6326, allocations: 6.438 kB / 0.7968 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.6326, allocations: 29.88 kB / 0.7969 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.6327, allocations: 38.84 kB / 0.7969 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.6327, allocations: 2.406 kB / 0.7969 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008352/0.6336, allocations: 408.2 kB / 0.7973 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.6336, allocations: 24.17 kB / 0.7973 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.6337, allocations: 28.06 kB / 0.7973 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.634, allocations: 147.3 kB / 0.7975 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.634, allocations: 5.375 kB / 0.7975 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.634, allocations: 1.188 kB / 0.7975 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.6341, allocations: 2.156 kB / 0.7975 GB, free: 12.4 MB / 0.5919 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.0004875/0.6345, allocations: 393.7 kB / 0.7979 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.6346, allocations: 10.19 kB / 0.7979 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.6346, allocations: 46.8 kB / 0.7979 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.635, allocations: 38.42 kB / 0.798 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.6352, allocations: 170.8 kB / 0.7981 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.6352, allocations: 10.22 kB / 0.7981 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.6353, allocations: 9.156 kB / 0.7981 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.6354, allocations: 73.08 kB / 0.7982 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6354, allocations: 0 / 0.7982 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6355, allocations: 5.062 kB / 0.7982 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.6355, allocations: 2.094 kB / 0.7982 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.6356, allocations: 52.23 kB / 0.7983 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.6358, allocations: 186.8 kB / 0.7984 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.636, allocations: 92.22 kB / 0.7985 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.636, allocations: 31.97 kB / 0.7986 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.6363, allocations: 180.6 kB / 0.7987 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.6363, allocations: 35.28 kB / 0.7988 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.6363, allocations: 0 / 0.7988 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001256/0.6376, allocations: 0.5528 MB / 0.7993 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.6377, allocations: 55.28 kB / 0.7994 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.884e-05/0.6377, allocations: 98.2 kB / 0.7995 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.6378, allocations: 31.23 kB / 0.7995 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.6378, allocations: 86.72 kB / 0.7996 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.6379, allocations: 68.62 kB / 0.7996 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.6379, allocations: 41.66 kB / 0.7997 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6381, allocations: 323.9 kB / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.6381, allocations: 43.86 kB / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.6382, allocations: 68.94 kB / 0.8001 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.6384, allocations: 110.9 kB / 0.8002 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6384, allocations: 0 / 0.8002 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002151/0.6386, allocations: 154.4 kB / 0.8003 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6386, allocations: 5.25 kB / 0.8003 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6387, allocations: 5.344 kB / 0.8004 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6387, allocations: 2.312 kB / 0.8004 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.6388, allocations: 43.34 kB / 0.8004 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6389, allocations: 1.312 kB / 0.8004 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.6389, allocations: 9.125 kB / 0.8004 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.6389, allocations: 9.531 kB / 0.8004 GB, free: 10.2 MB / 0.5919 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.671e-05/0.639, allocations: 122.5 kB / 0.8005 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.6391, allocations: 8.984 kB / 0.8005 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.6391, allocations: 23.75 kB / 0.8006 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6391, allocations: 4.031 kB / 0.8006 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6391, allocations: 0.875 kB / 0.8006 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6392, allocations: 5.688 kB / 0.8006 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.6393, allocations: 192.8 kB / 0.8008 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6394, allocations: 0 / 0.8008 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.6395, allocations: 38.56 kB / 0.8008 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6396, allocations: 1.125 kB / 0.8008 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6396, allocations: 9.781 kB / 0.8008 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6396, allocations: 0 / 0.8008 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6396, allocations: 1.688 kB / 0.8008 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.6399, allocations: 218.7 kB / 0.801 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.64, allocations: 91.84 kB / 0.8011 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.64, allocations: 4.812 kB / 0.8011 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6401, allocations: 4.938 kB / 0.8011 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.6402, allocations: 15.31 kB / 0.8011 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.6402, allocations: 7.188 kB / 0.8011 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.6402, allocations: 84.72 kB / 0.8012 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6403, allocations: 0 / 0.8012 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002241/0.6405, allocations: 25 kB / 0.8012 GB, free: 9.617 MB / 0.5919 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.0006215/0.6411, allocations: 0.7487 MB / 0.802 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.6413, allocations: 110.2 kB / 0.8021 GB, free: 9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.6413, allocations: 0 / 0.8021 GB, free: 9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.6414, allocations: 55.16 kB / 0.8021 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.6417, allocations: 16.77 kB / 0.8021 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.6436, allocations: 1.823 MB / 0.8039 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.644, allocations: 0.7013 MB / 0.8046 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.6441, allocations: 27.8 kB / 0.8046 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.6442, allocations: 24.44 kB / 0.8047 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.6442, allocations: 0 / 0.8047 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.6691, allocations: 2.433 MB / 0.807 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.613, allocations: 9.438 kB / 0.807 GB, free: 6.406 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)