Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.001342/0.001342, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001501/0.001501, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.51/2.51, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.223/1.223, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005581, allocations: 12 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9802/0.9808, allocations: 81.58 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00244/0.9833, allocations: 0.9765 MB / 0.5839 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2484/1.232, allocations: 124.3 MB / 0.7053 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/1.232, allocations: 0 / 0.7053 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/1.232, allocations: 3.984 kB / 0.7053 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/1.232, allocations: 3.984 kB / 0.7053 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/1.233, allocations: 79.73 kB / 0.7054 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/1.233, allocations: 23.91 kB / 0.7054 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/1.233, allocations: 4 kB / 0.7054 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/1.233, allocations: 19.98 kB / 0.7054 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/1.233, allocations: 11.92 kB / 0.7054 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/1.233, allocations: 0 / 0.7054 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/1.233, allocations: 83.81 kB / 0.7055 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/1.233, allocations: 15.97 kB / 0.7055 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/1.233, allocations: 29.7 kB / 0.7056 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/1.234, allocations: 38.22 kB / 0.7056 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.234, allocations: 4 kB / 0.7056 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.968e-06/1.234, allocations: 3.984 kB / 0.7056 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.029e-06/1.234, allocations: 0 / 0.7056 GB, free: 2.723 MB / 0.5294 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.0004781/1.234, allocations: 343.3 kB / 0.7059 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.234, allocations: 12.03 kB / 0.706 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/1.234, allocations: 34.56 kB / 0.706 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/1.234, allocations: 15.94 kB / 0.706 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/1.235, allocations: 163 kB / 0.7062 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/1.235, allocations: 4 kB / 0.7062 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/1.235, allocations: 8 kB / 0.7062 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.235, allocations: 49.67 kB / 0.7062 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.235, allocations: 0 / 0.7062 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/1.235, allocations: 8 kB / 0.7062 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.235, allocations: 0 / 0.7062 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/1.235, allocations: 15.94 kB / 0.7062 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/1.235, allocations: 169.5 kB / 0.7064 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/1.235, allocations: 50.5 kB / 0.7064 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/1.235, allocations: 0 / 0.7064 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/1.236, allocations: 42.5 kB / 0.7065 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.236, allocations: 0 / 0.7065 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001008/1.237, allocations: 370.9 kB / 0.7068 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.237, allocations: 59.36 kB / 0.7069 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/1.237, allocations: 93.86 kB / 0.707 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/1.237, allocations: 33.77 kB / 0.707 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/1.237, allocations: 84.14 kB / 0.7071 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/1.237, allocations: 43.36 kB / 0.7071 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/1.237, allocations: 0 / 0.7071 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.237, allocations: 318.8 kB / 0.7074 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/1.237, allocations: 19.94 kB / 0.7075 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/1.237, allocations: 33.7 kB / 0.7075 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/1.237, allocations: 23.98 kB / 0.7075 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.237, allocations: 4 kB / 0.7075 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/1.238, allocations: 93.61 kB / 0.7076 GB, free: 404 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.238, allocations: 4 kB / 0.7076 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.238, allocations: 4 kB / 0.7076 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.238, allocations: 0 / 0.7076 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.238, allocations: 24 kB / 0.7076 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.238, allocations: 7.891 kB / 0.7076 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/1.238, allocations: 3.984 kB / 0.7077 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.238, allocations: 4 kB / 0.7077 GB, free: 356 kB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/1.238, allocations: 121.8 kB / 0.7078 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/1.238, allocations: 3.906 kB / 0.7078 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/1.238, allocations: 15.97 kB / 0.7078 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.238, allocations: 0 / 0.7078 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.238, allocations: 0 / 0.7078 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.238, allocations: 3.953 kB / 0.7078 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/1.238, allocations: 173.6 kB / 0.708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.238, allocations: 0 / 0.708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/1.239, allocations: 19.98 kB / 0.708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.239, allocations: 0 / 0.708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.239, allocations: 16 kB / 0.708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.239, allocations: 0 / 0.708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.239, allocations: 0 / 0.708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/1.239, allocations: 128.9 kB / 0.7081 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/1.239, allocations: 93.05 kB / 0.7082 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/1.239, allocations: 4 kB / 0.7082 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/1.239, allocations: 0 / 0.7082 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/1.239, allocations: 11.98 kB / 0.7082 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.239, allocations: 8 kB / 0.7082 GB, free: 15.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.85e-05/1.239, allocations: 75.28 kB / 0.7083 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/1.239, allocations: 0 / 0.7083 GB, free: 15.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003274/1.24, allocations: 16 kB / 0.7083 GB, free: 15.58 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000703/1.24, allocations: 0.6782 MB / 0.709 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001785/1.241, allocations: 47.98 kB / 0.709 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.241, allocations: 0 / 0.709 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/1.241, allocations: 31.92 kB / 0.7091 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/1.241, allocations: 9.719 kB / 0.7091 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/1.242, allocations: 0.8191 MB / 0.7099 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.243, allocations: 0.6887 MB / 0.7105 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.243, allocations: 12.66 kB / 0.7106 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/1.243, allocations: 15.44 kB / 0.7106 GB, free: 13.17 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/1.243, allocations: 0 / 0.7106 GB, free: 13.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/1.261, allocations: 1.407 MB / 0.7119 GB, free: 11.94 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/1.261, allocations: 187.8 kB / 0.7121 GB, free: 11.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/4, allocations: 0 / 0.7121 GB, free: 11.7 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: