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.001327/0.001327, allocations: 122 kB / 17.84 MB, free: 5.254 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.001483/0.001483, allocations: 199.9 kB / 20.79 MB, free: 2.316 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.529/1.529, allocations: 230.6 MB / 254.2 MB, free: 15.08 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 1.062/1.062, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.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.002093/0.002093, allocations: 68.03 kB / 0.6368 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1866, allocations: 89.14 MB / 0.7238 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002606/0.1892, allocations: 1.282 MB / 0.7251 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6157/0.8049, allocations: 150.3 MB / 0.8718 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.8049, allocations: 1.25 kB / 0.8718 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.8049, allocations: 6.422 kB / 0.8718 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.805, allocations: 4.844 kB / 0.8718 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.8053, allocations: 93.59 kB / 0.8719 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.8054, allocations: 34.28 kB / 0.872 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.8055, allocations: 1.969 kB / 0.872 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.8055, allocations: 17.58 kB / 0.872 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.8055, allocations: 20.52 kB / 0.872 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.8056, allocations: 3.75 kB / 0.872 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.8058, allocations: 79.02 kB / 0.8721 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.8058, allocations: 13.67 kB / 0.8721 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.8058, allocations: 11.67 kB / 0.8721 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.806, allocations: 64.14 kB / 0.8722 GB, free: 3.059 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.806, allocations: 4.188 kB / 0.8722 GB, free: 3.059 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.172e-06/0.806, allocations: 1.062 kB / 0.8722 GB, free: 3.059 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.806, allocations: 0 / 0.8722 GB, free: 3.059 MB / 0.67 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.0005523/0.8065, allocations: 358.2 kB / 0.8725 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8066, allocations: 9.688 kB / 0.8725 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.8066, allocations: 2 kB / 0.8725 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.8066, allocations: 36.88 kB / 0.8725 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.8068, allocations: 7.812 kB / 0.8726 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.807, allocations: 173.8 kB / 0.8727 GB, free: 18.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.807, allocations: 5.906 kB / 0.8727 GB, free: 18.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.807, allocations: 10.19 kB / 0.8727 GB, free: 18.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.8071, allocations: 52.97 kB / 0.8728 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.8071, allocations: 0.9062 kB / 0.8728 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8071, allocations: 1.031 kB / 0.8728 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8071, allocations: 1.875 kB / 0.8728 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.8072, allocations: 18.84 kB / 0.8728 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.8074, allocations: 172.7 kB / 0.873 GB, free: 18.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.8074, allocations: 44.7 kB / 0.873 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.8075, allocations: 22.16 kB / 0.873 GB, free: 18.19 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.8075, allocations: 2.609 kB / 0.873 GB, free: 18.19 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.8075, allocations: 36.75 kB / 0.8731 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.8075, allocations: 1.203 kB / 0.8731 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0007663/0.8083, allocations: 367.5 kB / 0.8734 GB, free: 17.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.8083, allocations: 53.19 kB / 0.8735 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.8084, allocations: 94.59 kB / 0.8736 GB, free: 17.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.8084, allocations: 29.83 kB / 0.8736 GB, free: 17.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.8085, allocations: 86.14 kB / 0.8737 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.8085, allocations: 41.25 kB / 0.8737 GB, free: 17.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.8085, allocations: 35.09 kB / 0.8738 GB, free: 17.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8087, allocations: 321.4 kB / 0.8741 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/0.8087, allocations: 17.95 kB / 0.8741 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.8088, allocations: 37.8 kB / 0.8741 GB, free: 17.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.844e-05/0.8088, allocations: 56.17 kB / 0.8742 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8088, allocations: 1.75 kB / 0.8742 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001326/0.809, allocations: 101.6 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.809, allocations: 5.062 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.809, allocations: 3.766 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.809, allocations: 0.9375 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.8091, allocations: 25.3 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.8091, allocations: 0.9688 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.8091, allocations: 5.516 kB / 0.8743 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.8092, allocations: 9.531 kB / 0.8743 GB, free: 17.19 MB / 0.6856 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 8.894e-05/0.8092, allocations: 116.4 kB / 0.8744 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.8093, allocations: 7.281 kB / 0.8744 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.8093, allocations: 17.66 kB / 0.8744 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.8093, allocations: 1.766 kB / 0.8744 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.8093, allocations: 0.9688 kB / 0.8744 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8093, allocations: 2.797 kB / 0.8745 GB, free: 17.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.8094, allocations: 171.9 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8094, allocations: 0.9375 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.8095, allocations: 20.52 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8096, allocations: 2.359 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.8096, allocations: 4.375 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8096, allocations: 1.562 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.8096, allocations: 0.9375 kB / 0.8746 GB, free: 16.88 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.8098, allocations: 139.6 kB / 0.8748 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.8099, allocations: 87.84 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.8099, allocations: 4.156 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.81, allocations: 5.219 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.81, allocations: 4.875 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.81, allocations: 12.31 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.81, allocations: 80.77 kB / 0.875 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.81, allocations: 0.8125 kB / 0.875 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001933/0.8102, allocations: 16.62 kB / 0.875 GB, free: 16.63 MB / 0.6856 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.0004695/0.8107, allocations: 0.6703 MB / 0.8756 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.8108, allocations: 53.86 kB / 0.8757 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8108, allocations: 0 / 0.8757 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.8109, allocations: 27.16 kB / 0.8757 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.8111, allocations: 9.953 kB / 0.8757 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.8124, allocations: 1.447 MB / 0.8771 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.8127, allocations: 0.6956 MB / 0.8778 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.003e-05/0.8128, allocations: 9.547 kB / 0.8778 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.8128, allocations: 17.64 kB / 0.8778 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.8128, allocations: 0 / 0.8778 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.8319, allocations: 1.75 MB / 0.8795 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/9.206, allocations: 13.52 kB / 0.8796 GB, free: 13.75 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.393036578025203] Failed to read output from testmodel.py, exit status != 0: 9.33274517004611 9.349845559 8.541107985 Calling exit ...