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.00623/0.00623, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001348/0.001348, allocations: 200.8 kB / 16.68 MB, free: 5.977 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4639, allocations: 81.02 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001862/0.4658, allocations: 1.278 MB / 0.6661 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.6354, allocations: 147 MB / 0.8097 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.6355, allocations: 7.938 kB / 0.8097 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.6356, allocations: 3.938 kB / 0.8097 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.6357, allocations: 11.92 kB / 0.8097 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.6361, allocations: 87.56 kB / 0.8098 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.6362, allocations: 31.91 kB / 0.8098 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.6363, allocations: 4 kB / 0.8098 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.6363, allocations: 12 kB / 0.8098 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.6364, allocations: 19.91 kB / 0.8098 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.6364, allocations: 8 kB / 0.8098 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.6367, allocations: 75.77 kB / 0.8099 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.6367, allocations: 11.98 kB / 0.8099 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.6368, allocations: 19.92 kB / 0.8099 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.6369, allocations: 56.67 kB / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.637, allocations: 0 / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/0.637, allocations: 0 / 0.81 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.637, allocations: 0 / 0.81 GB, free: 11.75 MB / 0.6387 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.0004435/0.6374, allocations: 355.3 kB / 0.8103 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.6375, allocations: 16.03 kB / 0.8103 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.6375, allocations: 38.69 kB / 0.8104 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.6377, allocations: 12.92 kB / 0.8104 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.6378, allocations: 164.1 kB / 0.8105 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6379, allocations: 4 kB / 0.8106 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.6379, allocations: 8 kB / 0.8106 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.638, allocations: 53.66 kB / 0.8106 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.638, allocations: 0 / 0.8106 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6381, allocations: 7.938 kB / 0.8106 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6381, allocations: 4 kB / 0.8106 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.6381, allocations: 15.92 kB / 0.8106 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.6383, allocations: 173.5 kB / 0.8108 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.6384, allocations: 50.56 kB / 0.8109 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.6385, allocations: 16.84 kB / 0.8109 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.6385, allocations: 0 / 0.8109 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6385, allocations: 42.5 kB / 0.8109 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6385, allocations: 0 / 0.8109 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007541/0.6393, allocations: 362.5 kB / 0.8113 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6394, allocations: 51.41 kB / 0.8113 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.6394, allocations: 97.86 kB / 0.8114 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6395, allocations: 29.64 kB / 0.8114 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.6395, allocations: 92.19 kB / 0.8115 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.6396, allocations: 39.66 kB / 0.8116 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.6396, allocations: 29.7 kB / 0.8116 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6397, allocations: 318.8 kB / 0.8119 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.6398, allocations: 15.98 kB / 0.8119 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.6398, allocations: 41.7 kB / 0.8119 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.6399, allocations: 58.2 kB / 0.812 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.6399, allocations: 4 kB / 0.812 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001412/0.6401, allocations: 109.5 kB / 0.8121 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6401, allocations: 4 kB / 0.8121 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6401, allocations: 0 / 0.8121 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6401, allocations: 0 / 0.8121 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.6403, allocations: 23.98 kB / 0.8121 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6403, allocations: 0 / 0.8121 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.6403, allocations: 4 kB / 0.8121 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.6403, allocations: 11.94 kB / 0.8121 GB, free: 9.258 MB / 0.6387 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.931e-05/0.6404, allocations: 121.8 kB / 0.8123 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.6404, allocations: 7.984 kB / 0.8123 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.6405, allocations: 7.969 kB / 0.8123 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6405, allocations: 0 / 0.8123 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.6405, allocations: 0 / 0.8123 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6405, allocations: 4 kB / 0.8123 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.6406, allocations: 173.6 kB / 0.8124 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6406, allocations: 0 / 0.8124 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.6408, allocations: 27.98 kB / 0.8125 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6408, allocations: 0 / 0.8125 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6408, allocations: 4 kB / 0.8125 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6408, allocations: 0 / 0.8125 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6408, allocations: 0 / 0.8125 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.641, allocations: 140.9 kB / 0.8126 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.6411, allocations: 89.09 kB / 0.8127 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.6411, allocations: 3.938 kB / 0.8127 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.6412, allocations: 8 kB / 0.8127 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.6412, allocations: 7.984 kB / 0.8127 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.6412, allocations: 4 kB / 0.8127 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.6413, allocations: 83.22 kB / 0.8128 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6413, allocations: 0 / 0.8128 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001914/0.6415, allocations: 16 kB / 0.8128 GB, free: 8.48 MB / 0.6387 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.0004667/0.642, allocations: 0.6691 MB / 0.8135 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.6421, allocations: 52.03 kB / 0.8135 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6421, allocations: 0 / 0.8135 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.6422, allocations: 35.92 kB / 0.8135 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.6424, allocations: 4.547 kB / 0.8136 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.6438, allocations: 1.456 MB / 0.815 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.6441, allocations: 0.6885 MB / 0.8156 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.642e-05/0.6442, allocations: 8.672 kB / 0.8157 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.6442, allocations: 15.44 kB / 0.8157 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.6442, allocations: 0 / 0.8157 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.6678, allocations: 1.679 MB / 0.8173 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.659, allocations: 15.53 kB / 0.8173 GB, free: 3.82 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)