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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9535/0.9535, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5905/0.5905, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5542 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.187e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001697/0.001709, allocations: 1.333 MB / 0.5555 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.4317/0.4334, allocations: 130.1 MB / 0.6825 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.4334, allocations: 3.375 kB / 0.6825 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.4335, allocations: 6.422 kB / 0.6825 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.4335, allocations: 13.39 kB / 0.6825 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.4342, allocations: 338.7 kB / 0.6828 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.4343, allocations: 71.78 kB / 0.6829 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.4343, allocations: 0 / 0.6829 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.4344, allocations: 42.02 kB / 0.6829 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.4344, allocations: 32.88 kB / 0.6829 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.4345, allocations: 3.594 kB / 0.6829 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.4349, allocations: 376.3 kB / 0.6833 GB, free: 41.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.4349, allocations: 17.23 kB / 0.6833 GB, free: 41.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.435, allocations: 24.08 kB / 0.6833 GB, free: 41.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.4352, allocations: 169.2 kB / 0.6835 GB, free: 41.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4352, allocations: 3.562 kB / 0.6835 GB, free: 41.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4352, allocations: 1.469 kB / 0.6835 GB, free: 41.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.4352, allocations: 0 / 0.6835 GB, free: 41.74 MB / 0.6355 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.000298/0.4355, allocations: 318 kB / 0.6838 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4355, allocations: 12.19 kB / 0.6838 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.43e-05/0.4355, allocations: 40.16 kB / 0.6839 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.4358, allocations: 32.25 kB / 0.6839 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.101e-05/0.4358, allocations: 111.1 kB / 0.684 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4358, allocations: 8.312 kB / 0.684 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.4359, allocations: 13.89 kB / 0.684 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.436, allocations: 207.7 kB / 0.6842 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.436, allocations: 0 / 0.6842 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.436, allocations: 8.031 kB / 0.6842 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.436, allocations: 0 / 0.6842 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.4361, allocations: 47.45 kB / 0.6843 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.4362, allocations: 154 kB / 0.6844 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.4363, allocations: 81.83 kB / 0.6845 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.4363, allocations: 31.05 kB / 0.6845 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.4365, allocations: 24.53 kB / 0.6846 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.4365, allocations: 46.73 kB / 0.6846 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 8.61e-07/0.4365, allocations: 0 / 0.6846 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0007566/0.4372, allocations: 475.6 kB / 0.6851 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.4373, allocations: 57.78 kB / 0.6851 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.872e-05/0.4373, allocations: 99.94 kB / 0.6852 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.4373, allocations: 34.42 kB / 0.6852 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.032e-05/0.4373, allocations: 80.52 kB / 0.6853 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.4373, allocations: 70.09 kB / 0.6854 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.4374, allocations: 42.12 kB / 0.6854 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.116e-05/0.4374, allocations: 324 kB / 0.6857 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.4374, allocations: 38.09 kB / 0.6858 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.4375, allocations: 68.06 kB / 0.6858 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.4376, allocations: 124.2 kB / 0.6859 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4376, allocations: 0 / 0.6859 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001254/0.4377, allocations: 165.8 kB / 0.6861 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4377, allocations: 9.109 kB / 0.6861 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4377, allocations: 0 / 0.6861 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4377, allocations: 3.219 kB / 0.6861 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.4378, allocations: 40.56 kB / 0.6862 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4379, allocations: 0 / 0.6862 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.4379, allocations: 6.281 kB / 0.6862 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.4379, allocations: 7.109 kB / 0.6862 GB, free: 39.95 MB / 0.6355 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 4.579e-05/0.4379, allocations: 129.3 kB / 0.6863 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.4379, allocations: 3 kB / 0.6863 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.438, allocations: 18.11 kB / 0.6863 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.438, allocations: 3 kB / 0.6863 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.438, allocations: 1 kB / 0.6863 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.438, allocations: 2.844 kB / 0.6863 GB, free: 39.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.518e-05/0.438, allocations: 162.2 kB / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.438, allocations: 0.9688 kB / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.4381, allocations: 41.12 kB / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4381, allocations: 0.9375 kB / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.4382, allocations: 3.656 kB / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4382, allocations: 0 / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4382, allocations: 4.328 kB / 0.6865 GB, free: 39.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.4383, allocations: 217.9 kB / 0.6867 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4384, allocations: 16.98 kB / 0.6867 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4384, allocations: 4 kB / 0.6868 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.4384, allocations: 12.52 kB / 0.6868 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.4385, allocations: 10.27 kB / 0.6868 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.4385, allocations: 9.625 kB / 0.6868 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.012e-05/0.4385, allocations: 76.19 kB / 0.6869 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4385, allocations: 1.203 kB / 0.6869 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000144/0.4386, allocations: 27.19 kB / 0.6869 GB, free: 39.52 MB / 0.6355 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.0002727/0.4389, allocations: 0.7473 MB / 0.6876 GB, free: 38.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.439, allocations: 102.5 kB / 0.6877 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.439, allocations: 6.281 kB / 0.6877 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.4391, allocations: 45.23 kB / 0.6878 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.4393, allocations: 16.05 kB / 0.6878 GB, free: 38.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.4402, allocations: 1.724 MB / 0.6895 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.4402, allocations: 83.05 kB / 0.6895 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.4403, allocations: 26.8 kB / 0.6896 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.4403, allocations: 29.39 kB / 0.6896 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of SimCode: time 4.1e-07/0.4403, allocations: 0 / 0.6896 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01635/0.4567, allocations: 3.1 MB / 0.6926 GB, free: 36.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/7.327, allocations: 7.828 kB / 0.6926 GB, free: 36.8 MB / 0.6355 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.088946891017258] Failed to read output from testmodel.py, exit status != 0: 7.4082105327397585 7.416082967 6.979265682 Calling exit ...