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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001512/0.001512, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8535/0.8535, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.69 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 80.92 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002005/0.1516, allocations: 1.333 MB / 0.5851 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3979/0.5495, allocations: 144.7 MB / 0.7264 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.5496, allocations: 0 / 0.7264 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.5497, allocations: 1.5 kB / 0.7264 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.5497, allocations: 9.922 kB / 0.7264 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.5501, allocations: 82.23 kB / 0.7265 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.5502, allocations: 27.55 kB / 0.7265 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.5502, allocations: 3.797 kB / 0.7265 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.5503, allocations: 21.52 kB / 0.7265 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.5503, allocations: 11.98 kB / 0.7265 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.5503, allocations: 2.219 kB / 0.7265 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.5506, allocations: 86.84 kB / 0.7266 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.5506, allocations: 6.969 kB / 0.7266 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.5507, allocations: 12.83 kB / 0.7266 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.5508, allocations: 67.94 kB / 0.7267 GB, free: 3.176 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5508, allocations: 0 / 0.7267 GB, free: 3.176 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5509, allocations: 0.5625 kB / 0.7267 GB, free: 3.176 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5509, allocations: 0 / 0.7267 GB, free: 3.176 MB / 0.545 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.0004011/0.5513, allocations: 357.8 kB / 0.7271 GB, free: 2.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.5513, allocations: 10.27 kB / 0.7271 GB, free: 2.805 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.5514, allocations: 37.14 kB / 0.7271 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.5515, allocations: 16.94 kB / 0.7271 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.5517, allocations: 162.2 kB / 0.7273 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5517, allocations: 6.812 kB / 0.7273 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.5517, allocations: 8.703 kB / 0.7273 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.5518, allocations: 47.8 kB / 0.7273 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5518, allocations: 5.062 kB / 0.7273 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5519, allocations: 0 / 0.7273 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5519, allocations: 1.672 kB / 0.7273 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/0.5519, allocations: 18.45 kB / 0.7274 GB, free: 2.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.5521, allocations: 177.6 kB / 0.7275 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.5522, allocations: 48.31 kB / 0.7276 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.5522, allocations: 13.55 kB / 0.7276 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.5523, allocations: 1.156 kB / 0.7276 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5523, allocations: 43.8 kB / 0.7276 GB, free: 2.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.5523, allocations: 0 / 0.7276 GB, free: 2.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000704/0.553, allocations: 375.3 kB / 0.728 GB, free: 1.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.553, allocations: 53.23 kB / 0.728 GB, free: 1.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.5531, allocations: 92.12 kB / 0.7281 GB, free: 1.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.5531, allocations: 30.8 kB / 0.7282 GB, free: 1.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.5532, allocations: 81.36 kB / 0.7282 GB, free: 1.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.5532, allocations: 39.89 kB / 0.7283 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.5533, allocations: 31.97 kB / 0.7283 GB, free: 1.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.5534, allocations: 323.3 kB / 0.7286 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.5534, allocations: 17.64 kB / 0.7286 GB, free: 1.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.5535, allocations: 35.22 kB / 0.7287 GB, free: 1.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.5535, allocations: 64.66 kB / 0.7287 GB, free: 1.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5536, allocations: 0 / 0.7287 GB, free: 1.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001257/0.5537, allocations: 90.86 kB / 0.7288 GB, free: 1.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5537, allocations: 9.406 kB / 0.7288 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5537, allocations: 0 / 0.7288 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5537, allocations: 2.484 kB / 0.7288 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5538, allocations: 24.7 kB / 0.7288 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5539, allocations: 1.062 kB / 0.7288 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.5539, allocations: 1.062 kB / 0.7288 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.5539, allocations: 3.156 kB / 0.7288 GB, free: 1.129 MB / 0.545 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 7.36e-05/0.554, allocations: 121.8 kB / 0.729 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.554, allocations: 15 kB / 0.729 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.5541, allocations: 12.58 kB / 0.729 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5541, allocations: 1.812 kB / 0.729 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5541, allocations: 1.062 kB / 0.729 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5541, allocations: 0.7031 kB / 0.729 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.5542, allocations: 175.1 kB / 0.7292 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5542, allocations: 0 / 0.7292 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.5543, allocations: 25.88 kB / 0.7292 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5543, allocations: 0 / 0.7292 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5544, allocations: 9.969 kB / 0.7292 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5544, allocations: 3.25 kB / 0.7292 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5544, allocations: 4 kB / 0.7292 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.5546, allocations: 129.6 kB / 0.7293 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.5547, allocations: 90.28 kB / 0.7294 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.5547, allocations: 2.109 kB / 0.7294 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.5548, allocations: 2.641 kB / 0.7294 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.5548, allocations: 11.39 kB / 0.7294 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.5548, allocations: 4.672 kB / 0.7294 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.5549, allocations: 79.28 kB / 0.7295 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5549, allocations: 1.281 kB / 0.7295 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001891/0.5551, allocations: 19.84 kB / 0.7295 GB, free: 496 kB / 0.545 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.0004306/0.5555, allocations: 0.6698 MB / 0.7302 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.5556, allocations: 61.42 kB / 0.7302 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5556, allocations: 0 / 0.7302 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.5557, allocations: 29.08 kB / 0.7303 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.5559, allocations: 11.94 kB / 0.7303 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5573, allocations: 1.448 MB / 0.7317 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.5576, allocations: 0.6867 MB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.5576, allocations: 10.11 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.5577, allocations: 20.47 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5577, allocations: 1.094 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3554/0.9131, allocations: 1.509 MB / 0.7339 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.9134, allocations: 219.3 kB / 0.7341 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.516, allocations: 0 / 0.7341 GB, free: 13.31 MB / 0.5606 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)