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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, 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.002072/0.002071, allocations: 177.3 kB / 15.94 MB, free: 228 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.325/2.325, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.514/1.514, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.000511, allocations: 8 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2592, allocations: 82.32 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001919/0.2611, allocations: 0.9706 MB / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7699/1.031, allocations: 124.3 MB / 0.7096 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/1.031, allocations: 3.938 kB / 0.7096 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/1.031, allocations: 5.219 kB / 0.7096 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/1.031, allocations: 6.672 kB / 0.7096 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/1.032, allocations: 79.5 kB / 0.7097 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.032, allocations: 20.5 kB / 0.7097 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.963e-05/1.032, allocations: 7.094 kB / 0.7097 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/1.032, allocations: 17.11 kB / 0.7097 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/1.032, allocations: 9.906 kB / 0.7097 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/1.032, allocations: 1.281 kB / 0.7097 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005357/1.033, allocations: 89.42 kB / 0.7098 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/1.033, allocations: 3.953 kB / 0.7098 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/1.033, allocations: 37.42 kB / 0.7099 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/1.033, allocations: 39 kB / 0.7099 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/1.033, allocations: 1.031 kB / 0.7099 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/1.033, allocations: 0 / 0.7099 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.033, allocations: 0 / 0.7099 GB, free: 2.914 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.0005572/1.034, allocations: 344.9 kB / 0.7102 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/1.034, allocations: 9.922 kB / 0.7102 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/1.034, allocations: 41.17 kB / 0.7103 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/1.034, allocations: 13.48 kB / 0.7103 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.035, allocations: 159.9 kB / 0.7104 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.035, allocations: 3.156 kB / 0.7104 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/1.035, allocations: 9.656 kB / 0.7105 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.035, allocations: 51.86 kB / 0.7105 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.035, allocations: 7.875 kB / 0.7105 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/1.035, allocations: 5.031 kB / 0.7105 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.035, allocations: 1.844 kB / 0.7105 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/1.035, allocations: 17.08 kB / 0.7105 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/1.035, allocations: 181.3 kB / 0.7107 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/1.036, allocations: 47.59 kB / 0.7107 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/1.036, allocations: 1.312 kB / 0.7108 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/1.036, allocations: 32.58 kB / 0.7108 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/1.036, allocations: 3.938 kB / 0.7108 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00116/1.037, allocations: 363.5 kB / 0.7111 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/1.037, allocations: 52.81 kB / 0.7112 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/1.037, allocations: 100.5 kB / 0.7113 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.037, allocations: 27.05 kB / 0.7113 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/1.037, allocations: 85.25 kB / 0.7114 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/1.037, allocations: 43.44 kB / 0.7114 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/1.037, allocations: 4.125 kB / 0.7114 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.037, allocations: 322.2 kB / 0.7117 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/1.037, allocations: 17.56 kB / 0.7118 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/1.038, allocations: 35.66 kB / 0.7118 GB, free: 1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/1.038, allocations: 20.83 kB / 0.7118 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.038, allocations: 0 / 0.7118 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002744/1.038, allocations: 98.11 kB / 0.7119 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.038, allocations: 7.812 kB / 0.7119 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.038, allocations: 7.938 kB / 0.7119 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.038, allocations: 2.969 kB / 0.7119 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/1.038, allocations: 24.22 kB / 0.7119 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.038, allocations: 1.406 kB / 0.7119 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/1.038, allocations: 9.984 kB / 0.712 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/1.038, allocations: 2.438 kB / 0.712 GB, free: 0.918 MB / 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.0001635/1.039, allocations: 113.9 kB / 0.7121 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/1.039, allocations: 6.906 kB / 0.7121 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.732e-05/1.039, allocations: 17.7 kB / 0.7121 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.039, allocations: 1.125 kB / 0.7121 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.039, allocations: 0.5 kB / 0.7121 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.039, allocations: 1.797 kB / 0.7121 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/1.039, allocations: 171.1 kB / 0.7123 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.039, allocations: 3.125 kB / 0.7123 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/1.039, allocations: 25.22 kB / 0.7123 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.039, allocations: 0 / 0.7123 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/1.039, allocations: 6.016 kB / 0.7123 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.039, allocations: 0.9062 kB / 0.7123 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.039, allocations: 0 / 0.7123 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/1.04, allocations: 139.5 kB / 0.7124 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.04, allocations: 89.98 kB / 0.7125 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/1.04, allocations: 2.734 kB / 0.7125 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.04, allocations: 3.406 kB / 0.7125 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/1.04, allocations: 5.172 kB / 0.7125 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/1.04, allocations: 7.156 kB / 0.7125 GB, free: 384 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.685e-05/1.04, allocations: 81.38 kB / 0.7126 GB, free: 304 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/1.04, allocations: 0 / 0.7126 GB, free: 304 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003727/1.041, allocations: 16.38 kB / 0.7126 GB, free: 300 kB / 0.5294 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.0006924/1.041, allocations: 0.6686 MB / 0.7133 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002145/1.042, allocations: 59.22 kB / 0.7133 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.042, allocations: 5.188 kB / 0.7133 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/1.042, allocations: 28.94 kB / 0.7134 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/1.042, allocations: 7.203 kB / 0.7134 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/1.044, allocations: 0.8151 MB / 0.7142 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/1.044, allocations: 0.6935 MB / 0.7148 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.044, allocations: 10.02 kB / 0.7148 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/1.044, allocations: 21.22 kB / 0.7149 GB, free: 14.23 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.044, allocations: 0 / 0.7149 GB, free: 14.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/1.064, allocations: 1.403 MB / 0.7162 GB, free: 14.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/1.065, allocations: 203.8 kB / 0.7164 GB, free: 13.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.818, allocations: 0 / 0.7164 GB, free: 13.86 MB / 0.545 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) Environment - environmentSimulation: