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.004139/0.004139, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001149/0.00115, allocations: 193.5 kB / 16.68 MB, free: 6.363 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.246/1.246, 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 0.8777/0.8777, allocations: 135.6 MB / 426.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 67.89 kB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4358, allocations: 81.02 MB / 0.6649 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00199/0.4378, allocations: 1.276 MB / 0.6661 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1951/0.6329, allocations: 147 MB / 0.8096 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.633, allocations: 4 kB / 0.8096 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.6331, allocations: 11.92 kB / 0.8097 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.6331, allocations: 3.984 kB / 0.8097 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.6335, allocations: 87.56 kB / 0.8097 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.6336, allocations: 35.8 kB / 0.8098 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.6336, allocations: 7.984 kB / 0.8098 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.6337, allocations: 15.98 kB / 0.8098 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.6338, allocations: 15.92 kB / 0.8098 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.6338, allocations: 8 kB / 0.8098 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.634, allocations: 75.81 kB / 0.8099 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.6341, allocations: 8 kB / 0.8099 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.6341, allocations: 11.94 kB / 0.8099 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.6343, allocations: 68.64 kB / 0.81 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6343, allocations: 0 / 0.81 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6343, allocations: 0 / 0.81 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.6343, allocations: 0 / 0.81 GB, free: 11.72 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.000407/0.6347, allocations: 363.2 kB / 0.8103 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6347, allocations: 12.03 kB / 0.8103 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.6348, allocations: 34.75 kB / 0.8104 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.635, allocations: 12.88 kB / 0.8104 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.6351, allocations: 168.1 kB / 0.8105 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.6351, allocations: 4 kB / 0.8106 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.6352, allocations: 11.94 kB / 0.8106 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.6353, allocations: 45.69 kB / 0.8106 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6353, allocations: 3.984 kB / 0.8106 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6353, allocations: 4 kB / 0.8106 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6353, allocations: 4 kB / 0.8106 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.6354, allocations: 15.97 kB / 0.8106 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.6356, allocations: 173.5 kB / 0.8108 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.6357, allocations: 54.5 kB / 0.8109 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.6357, allocations: 16.86 kB / 0.8109 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.6358, allocations: 4 kB / 0.8109 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6358, allocations: 38.55 kB / 0.8109 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.6358, allocations: 0 / 0.8109 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007414/0.6365, allocations: 370.9 kB / 0.8113 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.6366, allocations: 51.41 kB / 0.8113 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.6367, allocations: 97.86 kB / 0.8114 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.6367, allocations: 25.7 kB / 0.8114 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.6368, allocations: 88.2 kB / 0.8115 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.6368, allocations: 43.64 kB / 0.8116 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.6369, allocations: 25.7 kB / 0.8116 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.637, allocations: 326.7 kB / 0.8119 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.6371, allocations: 19.98 kB / 0.8119 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.6371, allocations: 37.7 kB / 0.8119 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.6372, allocations: 57.7 kB / 0.812 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6372, allocations: 4 kB / 0.812 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000148/0.6374, allocations: 101.6 kB / 0.8121 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6374, allocations: 4 kB / 0.8121 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6374, allocations: 0 / 0.8121 GB, free: 9.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6374, allocations: 4 kB / 0.8121 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6375, allocations: 19.94 kB / 0.8121 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.6375, allocations: 3.984 kB / 0.8121 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.6376, allocations: 4 kB / 0.8121 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.6376, allocations: 7.938 kB / 0.8121 GB, free: 9.223 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.874e-05/0.6377, allocations: 117.8 kB / 0.8123 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.6377, allocations: 4 kB / 0.8123 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.6377, allocations: 7.969 kB / 0.8123 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6378, allocations: 0 / 0.8123 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.6378, allocations: 7.938 kB / 0.8123 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6378, allocations: 0 / 0.8123 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6379, allocations: 173.6 kB / 0.8124 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6379, allocations: 0 / 0.8124 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.6381, allocations: 31.92 kB / 0.8125 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6381, allocations: 0 / 0.8125 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.6381, allocations: 4 kB / 0.8125 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6381, allocations: 0 / 0.8125 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6381, allocations: 0 / 0.8125 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.6383, allocations: 136.9 kB / 0.8126 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.6384, allocations: 89.09 kB / 0.8127 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.6384, allocations: 0 / 0.8127 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.361e-05/0.6385, allocations: 8 kB / 0.8127 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.6386, allocations: 7.984 kB / 0.8127 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.6386, allocations: 4 kB / 0.8127 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.6386, allocations: 83.22 kB / 0.8128 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.415e-06/0.6386, allocations: 0 / 0.8128 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000196/0.6388, allocations: 19.94 kB / 0.8128 GB, free: 8.449 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.0005183/0.6393, allocations: 0.6655 MB / 0.8135 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.6395, allocations: 56.3 kB / 0.8135 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6395, allocations: 0 / 0.8135 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.742e-05/0.6396, allocations: 39.86 kB / 0.8135 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.6398, allocations: 8 kB / 0.8136 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.6413, allocations: 1.449 MB / 0.815 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.6417, allocations: 0.6846 MB / 0.8156 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.6417, allocations: 12.66 kB / 0.8157 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.6418, allocations: 15.44 kB / 0.8157 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of SimCode: time 2.074e-06/0.6418, allocations: 0 / 0.8157 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.6667, allocations: 1.686 MB / 0.8173 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/9.192, allocations: 13.67 kB / 0.8173 GB, free: 3.785 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 & /home/hudson/saved_omc/OMSimulator/install/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)