Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0008962/0.0008962, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008459/0.0008459, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8864/0.8864, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5505/0.5505, allocations: 114 MB / 373.9 MB, free: 8.691 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.666e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00166/0.001677, allocations: 1.285 MB / 0.5554 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.4414/0.4431, allocations: 129.1 MB / 0.6815 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.4431, allocations: 1.594 kB / 0.6815 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.4432, allocations: 3.844 kB / 0.6815 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.4432, allocations: 8.688 kB / 0.6815 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.4436, allocations: 95.03 kB / 0.6816 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.4437, allocations: 30.56 kB / 0.6816 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.4437, allocations: 2.656 kB / 0.6816 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.4438, allocations: 27.81 kB / 0.6816 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.4438, allocations: 12.58 kB / 0.6816 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.4438, allocations: 2.5 kB / 0.6816 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.444, allocations: 79.08 kB / 0.6817 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.444, allocations: 6.188 kB / 0.6817 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.444, allocations: 15.67 kB / 0.6817 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.4441, allocations: 71.73 kB / 0.6818 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4441, allocations: 0.5625 kB / 0.6818 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4441, allocations: 0 / 0.6818 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.4442, allocations: 0.5938 kB / 0.6818 GB, free: 41.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002661/0.4444, allocations: 275.9 kB / 0.6821 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4445, allocations: 10.59 kB / 0.6821 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.4445, allocations: 38.12 kB / 0.6821 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.4446, allocations: 17.45 kB / 0.6821 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.726e-05/0.4446, allocations: 105.4 kB / 0.6822 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4447, allocations: 9.109 kB / 0.6822 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4447, allocations: 3.625 kB / 0.6822 GB, free: 41.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.4448, allocations: 133.3 kB / 0.6824 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.4448, allocations: 0 / 0.6824 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4448, allocations: 0 / 0.6824 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4448, allocations: 4.219 kB / 0.6824 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.4448, allocations: 19.28 kB / 0.6824 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.087e-05/0.4449, allocations: 134.7 kB / 0.6825 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.445, allocations: 45.39 kB / 0.6826 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.445, allocations: 17.05 kB / 0.6826 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.445, allocations: 3.969 kB / 0.6826 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.445, allocations: 41.88 kB / 0.6826 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.445, allocations: 2.312 kB / 0.6826 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004507/0.4455, allocations: 295.9 kB / 0.6829 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.4455, allocations: 55.12 kB / 0.683 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.809e-05/0.4455, allocations: 95.5 kB / 0.683 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.4455, allocations: 31.14 kB / 0.6831 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-06/0.4455, allocations: 81.61 kB / 0.6832 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.4456, allocations: 43.2 kB / 0.6832 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.4456, allocations: 29.31 kB / 0.6832 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.393e-05/0.4456, allocations: 317.3 kB / 0.6835 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.4456, allocations: 20.8 kB / 0.6835 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.4456, allocations: 43.12 kB / 0.6836 GB, free: 40.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.001e-05/0.4457, allocations: 64.98 kB / 0.6836 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4457, allocations: 0 / 0.6836 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.064e-05/0.4458, allocations: 94.38 kB / 0.6837 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.4458, allocations: 7.5 kB / 0.6837 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4458, allocations: 3.188 kB / 0.6838 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4458, allocations: 2.75 kB / 0.6838 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.4459, allocations: 28.44 kB / 0.6838 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4459, allocations: 0.6562 kB / 0.6838 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.4459, allocations: 0 / 0.6838 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.4459, allocations: 6.375 kB / 0.6838 GB, free: 40.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 3.991e-05/0.4459, allocations: 115.9 kB / 0.6839 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.4459, allocations: 16.7 kB / 0.6839 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.446, allocations: 11.78 kB / 0.6839 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.446, allocations: 1.094 kB / 0.6839 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.446, allocations: 2.969 kB / 0.6839 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.446, allocations: 1.266 kB / 0.6839 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.849e-05/0.446, allocations: 138.7 kB / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.446, allocations: 3.375 kB / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.4461, allocations: 20.55 kB / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.4461, allocations: 0 / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.4461, allocations: 7.844 kB / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.4461, allocations: 0 / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4461, allocations: 1.203 kB / 0.6841 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.4462, allocations: 134.2 kB / 0.6842 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.4462, allocations: 12.92 kB / 0.6842 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.4462, allocations: 0 / 0.6842 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.4463, allocations: 6.656 kB / 0.6842 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.4463, allocations: 9.922 kB / 0.6842 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.4463, allocations: 4.312 kB / 0.6843 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.284e-05/0.4463, allocations: 78.7 kB / 0.6843 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4463, allocations: 2.016 kB / 0.6843 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001228/0.4464, allocations: 17.94 kB / 0.6843 GB, free: 39.81 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001686/0.4466, allocations: 0.6705 MB / 0.685 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.4467, allocations: 54.95 kB / 0.6851 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4467, allocations: 3.688 kB / 0.6851 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.4467, allocations: 26.89 kB / 0.6851 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.4469, allocations: 10.69 kB / 0.6851 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.4475, allocations: 1.377 MB / 0.6864 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.4475, allocations: 71.83 kB / 0.6865 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.4476, allocations: 10.97 kB / 0.6865 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.4476, allocations: 23.66 kB / 0.6865 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.4476, allocations: 0.9375 kB / 0.6865 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.4617, allocations: 2.354 MB / 0.6888 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.526, allocations: 2.922 kB / 0.6888 GB, free: 37.21 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.01333362981677] Failed to read output from testmodel.py, exit status != 0: 7.60319197550416 7.613306662 7.167246802 Calling exit ...