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.005723/0.005723, allocations: 98.77 kB / 15.73 MB, free: 6.016 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.001525/0.001525, allocations: 193.2 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 66.2 kB / 0.5808 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1361, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002231/0.1383, allocations: 1.273 MB / 0.6604 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.44/0.5784, allocations: 147 MB / 0.804 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.5785, allocations: 0 / 0.804 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.5785, allocations: 0 / 0.804 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.5786, allocations: 10.94 kB / 0.804 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.579, allocations: 94.5 kB / 0.8041 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.5791, allocations: 35.69 kB / 0.8041 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.5791, allocations: 5.359 kB / 0.8041 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.5792, allocations: 12.97 kB / 0.8041 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.5792, allocations: 20.8 kB / 0.8041 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.5793, allocations: 2.031 kB / 0.8041 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.5795, allocations: 73.23 kB / 0.8042 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.5795, allocations: 13.81 kB / 0.8042 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.5796, allocations: 20.7 kB / 0.8042 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.5797, allocations: 65.27 kB / 0.8043 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5797, allocations: 0 / 0.8043 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5797, allocations: 0 / 0.8043 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.5797, allocations: 0 / 0.8043 GB, free: 11.63 MB / 0.5919 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.0004086/0.5802, allocations: 354.5 kB / 0.8046 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5802, allocations: 8.844 kB / 0.8046 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.5802, allocations: 38.55 kB / 0.8047 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.5804, allocations: 15.84 kB / 0.8047 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.5806, allocations: 165.8 kB / 0.8049 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5806, allocations: 5.375 kB / 0.8049 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.5806, allocations: 6.656 kB / 0.8049 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5807, allocations: 52.41 kB / 0.8049 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5808, allocations: 3.938 kB / 0.8049 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5808, allocations: 5.016 kB / 0.8049 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5808, allocations: 1.219 kB / 0.8049 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.5808, allocations: 17.38 kB / 0.8049 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.581, allocations: 184.6 kB / 0.8051 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.5811, allocations: 50.16 kB / 0.8052 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.5812, allocations: 17.58 kB / 0.8052 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5812, allocations: 0 / 0.8052 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5812, allocations: 34.58 kB / 0.8052 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.5812, allocations: 1.625 kB / 0.8052 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.000697/0.5819, allocations: 366.7 kB / 0.8056 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.582, allocations: 52.72 kB / 0.8056 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.5821, allocations: 96.95 kB / 0.8057 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5821, allocations: 30.14 kB / 0.8057 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.5821, allocations: 80.14 kB / 0.8058 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.5822, allocations: 42.58 kB / 0.8059 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.5822, allocations: 31.55 kB / 0.8059 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5824, allocations: 322.2 kB / 0.8062 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.5824, allocations: 15.69 kB / 0.8062 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.724e-05/0.5825, allocations: 42.39 kB / 0.8063 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.5826, allocations: 59.75 kB / 0.8063 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5826, allocations: 1.094 kB / 0.8063 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001314/0.5827, allocations: 99.17 kB / 0.8064 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.5827, allocations: 11.22 kB / 0.8064 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5827, allocations: 0 / 0.8064 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5828, allocations: 1.5 kB / 0.8064 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.5829, allocations: 26.83 kB / 0.8064 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5829, allocations: 5.344 kB / 0.8064 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.5829, allocations: 3.062 kB / 0.8065 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.5829, allocations: 2.281 kB / 0.8065 GB, free: 9.727 MB / 0.5919 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.045e-05/0.583, allocations: 119.9 kB / 0.8066 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.583, allocations: 2.719 kB / 0.8066 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.5831, allocations: 16.28 kB / 0.8066 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.5831, allocations: 3.812 kB / 0.8066 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5831, allocations: 0 / 0.8066 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5831, allocations: 0 / 0.8066 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5833, allocations: 172.9 kB / 0.8068 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5833, allocations: 0 / 0.8068 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5834, allocations: 20.41 kB / 0.8068 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5834, allocations: 7.578 kB / 0.8068 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5834, allocations: 4.906 kB / 0.8068 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5834, allocations: 0 / 0.8068 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5834, allocations: 0 / 0.8068 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.5836, allocations: 138 kB / 0.8069 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.5837, allocations: 89.83 kB / 0.807 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5837, allocations: 1.5 kB / 0.807 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.5838, allocations: 13.28 kB / 0.807 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.5838, allocations: 4.406 kB / 0.807 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.5839, allocations: 3.031 kB / 0.807 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.5839, allocations: 80.59 kB / 0.8071 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5839, allocations: 0 / 0.8071 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001986/0.5841, allocations: 20.44 kB / 0.8071 GB, free: 9.141 MB / 0.5919 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.0004707/0.5846, allocations: 0.6705 MB / 0.8078 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.5847, allocations: 54.55 kB / 0.8078 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5847, allocations: 4.094 kB / 0.8078 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.5848, allocations: 33.44 kB / 0.8079 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.585, allocations: 9.094 kB / 0.8079 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.5864, allocations: 1.449 MB / 0.8093 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.5868, allocations: 0.6865 MB / 0.81 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.235e-05/0.5868, allocations: 10.12 kB / 0.81 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.5869, allocations: 15.5 kB / 0.81 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.5869, allocations: 0 / 0.81 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/0.7245, allocations: 1.693 MB / 0.8116 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.95, allocations: 9.031 kB / 0.8116 GB, free: 6.203 MB / 0.5919 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/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)