Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8238/0.8238, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 101.4 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.177e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.549, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.58/11.13, allocations: 4.151 GB / 4.785 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/11.13, allocations: 83.14 kB / 4.785 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5837/11.72, allocations: 35.95 MB / 4.82 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/11.72, allocations: 0 / 4.82 GB, free: 243.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.835e-06/11.72, allocations: 0.5625 kB / 4.82 GB, free: 243.5 MB / 0.6823 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.0003748/11.72, allocations: 358.2 kB / 4.82 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/11.72, allocations: 9.438 kB / 4.82 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/11.72, allocations: 15.06 kB / 4.82 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/11.72, allocations: 162.8 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/11.72, allocations: 3.875 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/11.72, allocations: 2.75 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.53e-05/11.72, allocations: 16.64 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.869e-05/11.72, allocations: 44.73 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/11.72, allocations: 0 / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/11.72, allocations: 0.625 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/11.72, allocations: 3.875 kB / 4.82 GB, free: 242.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/11.72, allocations: 141.2 kB / 4.821 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.864e-05/11.72, allocations: 47.22 kB / 4.821 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/11.72, allocations: 14.58 kB / 4.821 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/11.72, allocations: 3.875 kB / 4.821 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/11.72, allocations: 30.56 kB / 4.821 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/11.72, allocations: 5.797 kB / 4.821 GB, free: 242.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0006619/11.72, allocations: 331.5 kB / 4.821 GB, free: 242.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/11.72, allocations: 61.25 kB / 4.821 GB, free: 242.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/11.72, allocations: 85 kB / 4.821 GB, free: 242.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/11.72, allocations: 29.64 kB / 4.821 GB, free: 242.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/11.72, allocations: 80.58 kB / 4.821 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/11.72, allocations: 43.58 kB / 4.821 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/11.72, allocations: 0 / 4.821 GB, free: 242.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.107e-05/11.72, allocations: 322.7 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/11.72, allocations: 17 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.316e-05/11.72, allocations: 29.5 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/11.72, allocations: 19.3 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/11.72, allocations: 3.969 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001241/11.72, allocations: 79.38 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/11.72, allocations: 9.375 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/11.72, allocations: 1.719 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/11.72, allocations: 2.656 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/11.72, allocations: 27.25 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/11.72, allocations: 4.312 kB / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/11.72, allocations: 0 / 4.822 GB, free: 241.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/11.72, allocations: 11.56 kB / 4.822 GB, free: 241.8 MB / 0.6823 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 () * 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 6.729e-05/11.72, allocations: 107.2 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001118/11.72, allocations: 71.86 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/11.72, allocations: 7.219 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/11.72, allocations: 9.188 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/11.72, allocations: 1.281 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/11.72, allocations: 2.156 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/11.72, allocations: 0.5938 kB / 4.822 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.92e-05/11.72, allocations: 152.5 kB / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/11.72, allocations: 0 / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/11.72, allocations: 23.36 kB / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/11.72, allocations: 2.188 kB / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/11.72, allocations: 3.938 kB / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/11.72, allocations: 0 / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/11.72, allocations: 3.984 kB / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/11.72, allocations: 124.1 kB / 4.822 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/11.72, allocations: 93.91 kB / 4.822 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/11.72, allocations: 0 / 4.822 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/11.72, allocations: 0 / 4.822 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/11.72, allocations: 10.56 kB / 4.822 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/11.72, allocations: 3.969 kB / 4.822 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.684e-05/11.72, allocations: 75.28 kB / 4.822 GB, free: 241.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/11.72, allocations: 0 / 4.822 GB, free: 241.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002796/11.72, allocations: 44.98 kB / 4.822 GB, free: 241.2 MB / 0.6823 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 () * 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.001615/11.72, allocations: 1.212 MB / 4.824 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001654/11.72, allocations: 51.67 kB / 4.824 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/11.72, allocations: 0.5938 kB / 4.824 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/11.72, allocations: 25.28 kB / 4.824 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/11.72, allocations: 3.938 kB / 4.824 GB, free: 240.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/11.72, allocations: 324.2 kB / 4.824 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/11.72, allocations: 0.6926 MB / 4.825 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.986e-05/11.73, allocations: 8.703 kB / 4.825 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/11.73, allocations: 22.81 kB / 4.825 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/11.73, allocations: 0.5625 kB / 4.825 GB, free: 239.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/11.76, allocations: 5.733 MB / 4.83 GB, free: 239 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/11.76, allocations: 144.3 kB / 4.83 GB, free: 238.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/13.45, allocations: 0 / 4.83 GB, free: 238.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)