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.0009491/0.0009492, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007003/0.007003, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 8 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 82.31 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001226/0.155, allocations: 0.9906 MB / 0.589 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4678/0.6228, allocations: 143.1 MB / 0.7288 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.6229, allocations: 0 / 0.7288 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.6229, allocations: 1.359 kB / 0.7288 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.623, allocations: 5.797 kB / 0.7288 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.6236, allocations: 81.95 kB / 0.7289 GB, free: 3.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.6237, allocations: 35.98 kB / 0.729 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.6237, allocations: 7.844 kB / 0.729 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.6238, allocations: 12.67 kB / 0.729 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.6238, allocations: 17.58 kB / 0.729 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.6239, allocations: 5.172 kB / 0.729 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.6242, allocations: 74.33 kB / 0.7291 GB, free: 3.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.6242, allocations: 8.125 kB / 0.7291 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.6243, allocations: 41.38 kB / 0.7291 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.6245, allocations: 64.73 kB / 0.7292 GB, free: 3.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6245, allocations: 4 kB / 0.7292 GB, free: 3.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6245, allocations: 1.406 kB / 0.7292 GB, free: 3.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6245, allocations: 0.9375 kB / 0.7292 GB, free: 3.027 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.0003849/0.6249, allocations: 338.8 kB / 0.7295 GB, free: 2.668 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.625, allocations: 10.44 kB / 0.7295 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.625, allocations: 33.05 kB / 0.7295 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.6253, allocations: 16.05 kB / 0.7296 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.6254, allocations: 166.9 kB / 0.7297 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6254, allocations: 10.31 kB / 0.7297 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.6254, allocations: 3.594 kB / 0.7297 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.6256, allocations: 52.03 kB / 0.7298 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6256, allocations: 0 / 0.7298 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6256, allocations: 0 / 0.7298 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.6256, allocations: 1.688 kB / 0.7298 GB, free: 2.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.6257, allocations: 16.52 kB / 0.7298 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.6259, allocations: 179.4 kB / 0.73 GB, free: 2.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.68e-05/0.626, allocations: 55.66 kB / 0.73 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.626, allocations: 21.2 kB / 0.73 GB, free: 2.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.6261, allocations: 5.188 kB / 0.7301 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6261, allocations: 35.72 kB / 0.7301 GB, free: 2.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6261, allocations: 0 / 0.7301 GB, free: 2.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008067/0.6269, allocations: 370 kB / 0.7304 GB, free: 1.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.627, allocations: 56.62 kB / 0.7305 GB, free: 1.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.627, allocations: 92.69 kB / 0.7306 GB, free: 1.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.6271, allocations: 30.95 kB / 0.7306 GB, free: 1.566 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.6271, allocations: 80.14 kB / 0.7307 GB, free: 1.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.6271, allocations: 40.48 kB / 0.7307 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.6272, allocations: 18.33 kB / 0.7307 GB, free: 1.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6273, allocations: 322.2 kB / 0.7311 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.6273, allocations: 21.97 kB / 0.7311 GB, free: 1.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.6274, allocations: 37.2 kB / 0.7311 GB, free: 1.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.6275, allocations: 54.34 kB / 0.7312 GB, free: 1.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6275, allocations: 1.984 kB / 0.7312 GB, free: 1.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001484/0.6277, allocations: 93.86 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6277, allocations: 8.875 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6277, allocations: 0.8281 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6277, allocations: 1.125 kB / 0.7313 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6278, allocations: 36.33 kB / 0.7313 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6279, allocations: 5.562 kB / 0.7313 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.6279, allocations: 1.125 kB / 0.7313 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.6279, allocations: 4.625 kB / 0.7313 GB, free: 0.9766 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 8.212e-05/0.628, allocations: 116.4 kB / 0.7314 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.628, allocations: 7.031 kB / 0.7314 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.6281, allocations: 13.7 kB / 0.7314 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6281, allocations: 1.062 kB / 0.7314 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6281, allocations: 1.828 kB / 0.7314 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6281, allocations: 4 kB / 0.7314 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.6282, allocations: 175.7 kB / 0.7316 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6283, allocations: 1 kB / 0.7316 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.6284, allocations: 24.5 kB / 0.7316 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6284, allocations: 1.219 kB / 0.7316 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6284, allocations: 5.781 kB / 0.7316 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6284, allocations: 1.188 kB / 0.7316 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6284, allocations: 0.6094 kB / 0.7316 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.6286, allocations: 143.4 kB / 0.7318 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.6287, allocations: 91.2 kB / 0.7319 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.6288, allocations: 1.672 kB / 0.7319 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.6288, allocations: 2.969 kB / 0.7319 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.6289, allocations: 10.3 kB / 0.7319 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.6289, allocations: 2.375 kB / 0.7319 GB, free: 436 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.6289, allocations: 77.03 kB / 0.732 GB, free: 360 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6289, allocations: 0 / 0.732 GB, free: 360 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.000211/0.6291, allocations: 21.16 kB / 0.732 GB, free: 352 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.0005492/0.6297, allocations: 0.6714 MB / 0.7326 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.6299, allocations: 56.28 kB / 0.7327 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6299, allocations: 1.188 kB / 0.7327 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.6299, allocations: 29.39 kB / 0.7327 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.6302, allocations: 12.05 kB / 0.7327 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.6317, allocations: 1.506 MB / 0.7342 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.632, allocations: 0.6866 MB / 0.7349 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.312e-05/0.6321, allocations: 10.94 kB / 0.7349 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.6321, allocations: 16.94 kB / 0.7349 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.6322, allocations: 1.062 kB / 0.7349 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2612/0.8934, allocations: 1.455 MB / 0.7363 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000386/0.8939, allocations: 209.6 kB / 0.7365 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.512, allocations: 0 / 0.7365 GB, free: 13.24 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)