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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000915/0.000915, allocations: 177 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 177.2 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.76/0.76, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 4 kB / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.506e-05, allocations: 2.312 kB / 480.3 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00538/0.005395, allocations: 1.36 MB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1435/0.1489, allocations: 143.4 MB / 0.6104 GB, free: 5.727 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.1489, allocations: 4 kB / 0.6104 GB, free: 5.723 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.149, allocations: 3.938 kB / 0.6104 GB, free: 5.719 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.1491, allocations: 15.84 kB / 0.6104 GB, free: 5.703 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.1499, allocations: 342.3 kB / 0.6107 GB, free: 5.367 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.1499, allocations: 63.64 kB / 0.6108 GB, free: 5.309 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.15, allocations: 8 kB / 0.6108 GB, free: 5.301 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.15, allocations: 51.81 kB / 0.6109 GB, free: 5.25 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.1501, allocations: 27.95 kB / 0.6109 GB, free: 5.223 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1501, allocations: 4 kB / 0.6109 GB, free: 5.219 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.1506, allocations: 366.6 kB / 0.6112 GB, free: 4.859 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1507, allocations: 19.88 kB / 0.6113 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1507, allocations: 23.97 kB / 0.6113 GB, free: 4.816 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1509, allocations: 167.4 kB / 0.6114 GB, free: 4.652 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1509, allocations: 0 / 0.6114 GB, free: 4.652 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1509, allocations: 0 / 0.6114 GB, free: 4.652 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1509, allocations: 4 kB / 0.6114 GB, free: 4.648 MB / 0.573 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.0003051/0.1512, allocations: 292.5 kB / 0.6117 GB, free: 4.34 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1512, allocations: 12.03 kB / 0.6117 GB, free: 4.328 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.1515, allocations: 56.7 kB / 0.6118 GB, free: 4.273 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.06e-05/0.1516, allocations: 117.7 kB / 0.6119 GB, free: 4.133 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1516, allocations: 4.375 kB / 0.6119 GB, free: 4.129 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1516, allocations: 16.33 kB / 0.6119 GB, free: 4.113 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1517, allocations: 196.9 kB / 0.6121 GB, free: 3.883 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1518, allocations: 7.938 kB / 0.6121 GB, free: 3.875 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1518, allocations: 4 kB / 0.6121 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1518, allocations: 0 / 0.6121 GB, free: 3.871 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.1518, allocations: 27.97 kB / 0.6121 GB, free: 3.844 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.291e-05/0.1519, allocations: 82.64 kB / 0.6122 GB, free: 3.746 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.152, allocations: 69.34 kB / 0.6123 GB, free: 3.668 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.152, allocations: 16.86 kB / 0.6123 GB, free: 3.648 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/0.1521, allocations: 27.97 kB / 0.6123 GB, free: 3.621 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.1521, allocations: 34.56 kB / 0.6124 GB, free: 3.578 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1521, allocations: 0 / 0.6124 GB, free: 3.578 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.0008581/0.153, allocations: 0.5006 MB / 0.6129 GB, free: 3.047 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.153, allocations: 55.41 kB / 0.6129 GB, free: 2.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.188e-05/0.1531, allocations: 102.7 kB / 0.613 GB, free: 2.867 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1531, allocations: 29.7 kB / 0.613 GB, free: 2.832 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.1531, allocations: 84.52 kB / 0.6131 GB, free: 2.746 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1531, allocations: 75.36 kB / 0.6132 GB, free: 2.672 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.1532, allocations: 37.69 kB / 0.6132 GB, free: 2.629 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.1532, allocations: 322.8 kB / 0.6135 GB, free: 2.305 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.1533, allocations: 12 kB / 0.6135 GB, free: 2.293 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.1533, allocations: 52.02 kB / 0.6136 GB, free: 2.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.1534, allocations: 86.12 kB / 0.6137 GB, free: 2.133 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1534, allocations: 4.125 kB / 0.6137 GB, free: 2.129 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 9.958e-05/0.1535, allocations: 109.5 kB / 0.6138 GB, free: 2.016 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1535, allocations: 4 kB / 0.6138 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1535, allocations: 4 kB / 0.6138 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1535, allocations: 0 / 0.6138 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1536, allocations: 39.92 kB / 0.6138 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1536, allocations: 4 kB / 0.6138 GB, free: 1.965 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.1536, allocations: 4 kB / 0.6138 GB, free: 1.961 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1536, allocations: 8 kB / 0.6138 GB, free: 1.953 MB / 0.573 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 5.744e-05/0.1537, allocations: 120.6 kB / 0.614 GB, free: 1.824 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.1537, allocations: 23.92 kB / 0.614 GB, free: 1.801 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.1537, allocations: 16.47 kB / 0.614 GB, free: 1.781 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1537, allocations: 4 kB / 0.614 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1537, allocations: 0 / 0.614 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1537, allocations: 0 / 0.614 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.087e-05/0.1538, allocations: 85.88 kB / 0.6141 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1538, allocations: 0 / 0.6141 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1539, allocations: 44.05 kB / 0.6141 GB, free: 1.633 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1539, allocations: 3.938 kB / 0.6141 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.1539, allocations: 8 kB / 0.6141 GB, free: 1.621 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1539, allocations: 3.938 kB / 0.6141 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1539, allocations: 4 kB / 0.6141 GB, free: 1.613 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1541, allocations: 148.1 kB / 0.6143 GB, free: 1.449 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.1541, allocations: 11.98 kB / 0.6143 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1541, allocations: 7.938 kB / 0.6143 GB, free: 1.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.1541, allocations: 8 kB / 0.6143 GB, free: 1.422 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1542, allocations: 11.97 kB / 0.6143 GB, free: 1.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1542, allocations: 7.938 kB / 0.6143 GB, free: 1.402 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.696e-06/0.1542, allocations: 12.84 kB / 0.6143 GB, free: 1.387 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1542, allocations: 0 / 0.6143 GB, free: 1.387 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001373/0.1543, allocations: 28 kB / 0.6144 GB, free: 1.359 MB / 0.573 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 9.529e-05/0.1544, allocations: 84.52 kB / 0.6144 GB, free: 1.266 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.288e-05/0.1545, allocations: 79.12 kB / 0.6145 GB, free: 1.188 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1545, allocations: 0 / 0.6145 GB, free: 1.188 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.1545, allocations: 44.77 kB / 0.6146 GB, free: 1.141 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1547, allocations: 40.38 kB / 0.6146 GB, free: 1.102 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.1552, allocations: 335.3 kB / 0.6149 GB, free: 0.75 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.126e-05/0.1552, allocations: 68.08 kB / 0.615 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.1553, allocations: 20.64 kB / 0.615 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.1554, allocations: 83.36 kB / 0.6151 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of SimCode: time 7.62e-07/0.1554, allocations: 0 / 0.6151 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of Templates: time 0.003161/0.1585, allocations: 1.616 MB / 0.6167 GB, free: 14.99 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7036120258271694]