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.001747/0.001747, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 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.002164/0.002164, allocations: 211.5 kB / 23.79 MB, free: 4.684 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 257.6 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.977/0.977, allocations: 150 MB / 464 MB, free: 10.55 MB / 366.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 61.84 kB / 0.642 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1999, allocations: 89.17 MB / 0.7291 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002678/0.2026, allocations: 1.29 MB / 0.7304 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6191/0.8217, allocations: 150.3 MB / 0.8771 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.8218, allocations: 0 / 0.8771 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.8218, allocations: 4 kB / 0.8771 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.998e-05/0.8219, allocations: 11.91 kB / 0.8772 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.8223, allocations: 91.56 kB / 0.8772 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.8224, allocations: 35.86 kB / 0.8773 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.8225, allocations: 4 kB / 0.8773 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.8225, allocations: 19.91 kB / 0.8773 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.8226, allocations: 14.09 kB / 0.8773 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.8226, allocations: 0 / 0.8773 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.8229, allocations: 87.81 kB / 0.8774 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.8229, allocations: 8 kB / 0.8774 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.823, allocations: 15.92 kB / 0.8774 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.8232, allocations: 65.64 kB / 0.8775 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8232, allocations: 4 kB / 0.8775 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8232, allocations: 0 / 0.8775 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.8232, allocations: 0 / 0.8775 GB, free: 15.56 MB / 0.6544 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.0004964/0.8237, allocations: 278.2 kB / 0.8777 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.8237, allocations: 12.03 kB / 0.8778 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.434e-05/0.8237, allocations: 4.188 kB / 0.8778 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.8238, allocations: 30.75 kB / 0.8778 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.824, allocations: 12.92 kB / 0.8778 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.8241, allocations: 114.2 kB / 0.8779 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.8241, allocations: 4 kB / 0.8779 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.8241, allocations: 4 kB / 0.8779 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.8243, allocations: 53.67 kB / 0.878 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.8243, allocations: 0 / 0.878 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.8243, allocations: 0 / 0.878 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.8243, allocations: 8 kB / 0.878 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.8244, allocations: 15.98 kB / 0.878 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.8246, allocations: 141.7 kB / 0.8781 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.8247, allocations: 54.98 kB / 0.8782 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.8247, allocations: 16.84 kB / 0.8782 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.8247, allocations: 3.938 kB / 0.8782 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.8248, allocations: 38.56 kB / 0.8782 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8248, allocations: 0 / 0.8782 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007228/0.8255, allocations: 288 kB / 0.8785 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.8255, allocations: 55.34 kB / 0.8786 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.8256, allocations: 101.8 kB / 0.8787 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.8256, allocations: 25.7 kB / 0.8787 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.8257, allocations: 84.27 kB / 0.8788 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.8257, allocations: 39.64 kB / 0.8788 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.8258, allocations: 29.7 kB / 0.8788 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8259, allocations: 318.8 kB / 0.8791 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.8259, allocations: 19.98 kB / 0.8792 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.826, allocations: 41.2 kB / 0.8792 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.8261, allocations: 67.33 kB / 0.8793 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8261, allocations: 4.5 kB / 0.8793 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001367/0.8262, allocations: 97.56 kB / 0.8794 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.8262, allocations: 4 kB / 0.8794 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8262, allocations: 0 / 0.8794 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.8262, allocations: 0 / 0.8794 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.8264, allocations: 32.86 kB / 0.8794 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8264, allocations: 0 / 0.8794 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.8264, allocations: 4 kB / 0.8794 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.8264, allocations: 7.938 kB / 0.8794 GB, free: 13.37 MB / 0.6544 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 9.193e-05/0.8265, allocations: 117.8 kB / 0.8795 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.8265, allocations: 7.953 kB / 0.8795 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.8266, allocations: 11.91 kB / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.8266, allocations: 0 / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8266, allocations: 0 / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8266, allocations: 0 / 0.8795 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.8267, allocations: 149.3 kB / 0.8797 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8267, allocations: 0 / 0.8797 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8268, allocations: 27.92 kB / 0.8797 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8268, allocations: 0 / 0.8797 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.8268, allocations: 4.75 kB / 0.8797 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8268, allocations: 0 / 0.8797 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8268, allocations: 0.7031 kB / 0.8797 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.827, allocations: 133.8 kB / 0.8798 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.8271, allocations: 11.98 kB / 0.8799 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.8271, allocations: 4 kB / 0.8799 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.8272, allocations: 4.688 kB / 0.8799 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.8272, allocations: 11.92 kB / 0.8799 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.8272, allocations: 8 kB / 0.8799 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.8273, allocations: 83.22 kB / 0.88 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.8273, allocations: 0 / 0.88 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001976/0.8275, allocations: 16 kB / 0.88 GB, free: 12.72 MB / 0.6544 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.0005147/0.828, allocations: 0.6756 MB / 0.8806 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.8281, allocations: 51.95 kB / 0.8807 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8281, allocations: 0 / 0.8807 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.8282, allocations: 28.48 kB / 0.8807 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.8284, allocations: 4 kB / 0.8807 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.83, allocations: 1.447 MB / 0.8821 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.8303, allocations: 0.6885 MB / 0.8828 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.219e-05/0.8303, allocations: 12.66 kB / 0.8828 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.8304, allocations: 19.42 kB / 0.8828 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.8304, allocations: 0 / 0.8828 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.8532, allocations: 1.86 MB / 0.8846 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12, allocations: 20.86 kB / 0.8847 GB, free: 7.945 MB / 0.6544 GB " [Timeout remaining time 648] (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: 15.97109146200819] Failed to read output from testmodel.py, exit status != 0: 12.160479242971633 12.176271272 11.34988704 Calling exit ...