Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.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: translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001467/0.001467, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.98 kB / 0.5862 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1645, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002646/0.1672, allocations: 1.318 MB / 0.6666 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5494/0.7167, allocations: 148.1 MB / 0.8112 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.7168, allocations: 0 / 0.8112 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.229e-05/0.7169, allocations: 6.281 kB / 0.8112 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.717, allocations: 11.27 kB / 0.8112 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.7182, allocations: 327.2 kB / 0.8115 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.7184, allocations: 72.61 kB / 0.8116 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.7185, allocations: 4.875 kB / 0.8116 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.7185, allocations: 24.86 kB / 0.8116 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.7186, allocations: 37.22 kB / 0.8117 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.7187, allocations: 2.625 kB / 0.8117 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009349/0.7196, allocations: 411.2 kB / 0.8121 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.7197, allocations: 20.5 kB / 0.8121 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.7198, allocations: 29 kB / 0.8121 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.7202, allocations: 157.9 kB / 0.8123 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7202, allocations: 0 / 0.8123 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7202, allocations: 0 / 0.8123 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.7202, allocations: 1.969 kB / 0.8123 GB, free: 11.3 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005805/0.7208, allocations: 391.5 kB / 0.8126 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.7209, allocations: 10.55 kB / 0.8126 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.7214, allocations: 36.89 kB / 0.8127 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.7215, allocations: 164.5 kB / 0.8128 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.7215, allocations: 10.28 kB / 0.8128 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.7216, allocations: 13.66 kB / 0.8129 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.7218, allocations: 80.03 kB / 0.8129 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7218, allocations: 0 / 0.8129 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.7218, allocations: 0 / 0.8129 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7218, allocations: 6.438 kB / 0.8129 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.7219, allocations: 42.58 kB / 0.813 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.7222, allocations: 193.1 kB / 0.8132 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.7224, allocations: 92.12 kB / 0.8132 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.7224, allocations: 31.84 kB / 0.8133 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.7227, allocations: 182.8 kB / 0.8135 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.7228, allocations: 35.16 kB / 0.8135 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.7228, allocations: 0 / 0.8135 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001437/0.7242, allocations: 0.5461 MB / 0.814 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.7243, allocations: 53.72 kB / 0.8141 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.7244, allocations: 97.59 kB / 0.8142 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.7244, allocations: 33.17 kB / 0.8142 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.7244, allocations: 80.52 kB / 0.8143 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.7245, allocations: 69.2 kB / 0.8143 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.7246, allocations: 39.89 kB / 0.8144 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7247, allocations: 325.6 kB / 0.8147 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.115e-05/0.7248, allocations: 36.66 kB / 0.8147 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.7249, allocations: 71.94 kB / 0.8148 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.7251, allocations: 119.3 kB / 0.8149 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7251, allocations: 1.438 kB / 0.8149 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002453/0.7254, allocations: 160.6 kB / 0.8151 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7254, allocations: 9.594 kB / 0.8151 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.7254, allocations: 1.281 kB / 0.8151 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.7254, allocations: 1.219 kB / 0.8151 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.7256, allocations: 36.52 kB / 0.8151 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.7256, allocations: 1.375 kB / 0.8151 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.7257, allocations: 10.31 kB / 0.8151 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.7257, allocations: 11.41 kB / 0.8151 GB, free: 9.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001193/0.7258, allocations: 126.2 kB / 0.8152 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.7259, allocations: 15.22 kB / 0.8153 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.726, allocations: 20.31 kB / 0.8153 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.726, allocations: 5.188 kB / 0.8153 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.726, allocations: 0 / 0.8153 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.726, allocations: 7.734 kB / 0.8153 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.7262, allocations: 190.7 kB / 0.8155 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7262, allocations: 0 / 0.8155 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.7264, allocations: 41.62 kB / 0.8155 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7264, allocations: 1.375 kB / 0.8155 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7264, allocations: 1.375 kB / 0.8155 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7264, allocations: 1.375 kB / 0.8155 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7264, allocations: 6.344 kB / 0.8155 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.7268, allocations: 214.2 kB / 0.8157 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.7269, allocations: 91.06 kB / 0.8158 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.7269, allocations: 8.688 kB / 0.8158 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.727, allocations: 7.562 kB / 0.8158 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.7271, allocations: 9.953 kB / 0.8158 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.7271, allocations: 11.5 kB / 0.8159 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.7271, allocations: 83.05 kB / 0.8159 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7271, allocations: 0 / 0.8159 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002312/0.7274, allocations: 28.88 kB / 0.816 GB, free: 8.559 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001482/0.7275, allocations: 100.4 kB / 0.8161 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.7278, allocations: 101.3 kB / 0.8161 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.7278, allocations: 4.688 kB / 0.8162 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.7279, allocations: 64.45 kB / 0.8162 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.7282, allocations: 15.48 kB / 0.8162 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/0.7291, allocations: 0.5282 MB / 0.8167 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.7294, allocations: 0.7018 MB / 0.8174 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.7294, allocations: 17.41 kB / 0.8174 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7294, allocations: 0 / 0.8174 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.003448/0.7329, allocations: 1.298 MB / 0.8187 GB, free: 6.727 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1)