Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7645/0.7645, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 106.3 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009826/0.0009826, allocations: 47.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1324, allocations: 80.2 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002341/0.1348, allocations: 1.321 MB / 0.6414 GB, free: 5.473 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.1381, allocations: 3.242 MB / 0.6446 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1381, allocations: 0 / 0.6446 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.1382, allocations: 0 / 0.6446 GB, free: 2.207 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.1382, allocations: 7.922 kB / 0.6446 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1387, allocations: 99.61 kB / 0.6447 GB, free: 2.102 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.76e-05/0.1387, allocations: 31.86 kB / 0.6447 GB, free: 2.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1388, allocations: 7.984 kB / 0.6448 GB, free: 2.062 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.1388, allocations: 19.92 kB / 0.6448 GB, free: 2.043 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.1389, allocations: 23.86 kB / 0.6448 GB, free: 2.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1389, allocations: 4 kB / 0.6448 GB, free: 2.016 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.1391, allocations: 71.8 kB / 0.6449 GB, free: 1.945 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1391, allocations: 7.984 kB / 0.6449 GB, free: 1.938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.1392, allocations: 19.92 kB / 0.6449 GB, free: 1.918 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1393, allocations: 64.14 kB / 0.645 GB, free: 1.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1394, allocations: 4 kB / 0.645 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1394, allocations: 0 / 0.645 GB, free: 1.852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1394, allocations: 0 / 0.645 GB, free: 1.852 MB / 442.7 MB 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.0004169/0.1398, allocations: 343.5 kB / 0.6453 GB, free: 1.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1398, allocations: 12.03 kB / 0.6453 GB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.886e-05/0.1399, allocations: 8.922 kB / 0.6453 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.14, allocations: 168.3 kB / 0.6455 GB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1401, allocations: 4.375 kB / 0.6455 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1401, allocations: 12.28 kB / 0.6455 GB, free: 1.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1402, allocations: 61.78 kB / 0.6455 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1402, allocations: 0 / 0.6455 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1403, allocations: 4 kB / 0.6455 GB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1403, allocations: 0 / 0.6455 GB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.1403, allocations: 15.98 kB / 0.6456 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1405, allocations: 161.7 kB / 0.6457 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.1406, allocations: 54.5 kB / 0.6458 GB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.1406, allocations: 20.86 kB / 0.6458 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006408/0.1413, allocations: 0.5948 MB / 0.6464 GB, free: 152 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1413, allocations: 34.56 kB / 0.6464 GB, free: 108 kB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1413, allocations: 0 / 0.6464 GB, free: 108 kB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000546/0.1419, allocations: 306.3 kB / 0.6467 GB, free: 15.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1419, allocations: 51.41 kB / 0.6467 GB, free: 15.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.329e-05/0.142, allocations: 101.8 kB / 0.6468 GB, free: 15.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.142, allocations: 29.7 kB / 0.6469 GB, free: 15.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.142, allocations: 91.98 kB / 0.647 GB, free: 15.45 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1421, allocations: 27.64 kB / 0.647 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1421, allocations: 21.72 kB / 0.647 GB, free: 15.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.1422, allocations: 318.8 kB / 0.6473 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.1423, allocations: 19.98 kB / 0.6473 GB, free: 15.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.912e-05/0.1423, allocations: 53.52 kB / 0.6474 GB, free: 14.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/0.1424, allocations: 73.27 kB / 0.6474 GB, free: 14.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1424, allocations: 0 / 0.6474 GB, free: 14.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001296/0.1425, allocations: 101.5 kB / 0.6475 GB, free: 14.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1426, allocations: 4 kB / 0.6475 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1426, allocations: 11.94 kB / 0.6476 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1426, allocations: 0 / 0.6476 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1427, allocations: 23.92 kB / 0.6476 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1427, allocations: 4 kB / 0.6476 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.1427, allocations: 8.062 kB / 0.6476 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.1427, allocations: 4 kB / 0.6476 GB, free: 14.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.619e-05/0.1428, allocations: 115.2 kB / 0.6477 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1428, allocations: 7.984 kB / 0.6477 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.1429, allocations: 11.91 kB / 0.6477 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1429, allocations: 3.938 kB / 0.6477 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1429, allocations: 0 / 0.6477 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1429, allocations: 3.938 kB / 0.6477 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1431, allocations: 177.6 kB / 0.6479 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1431, allocations: 4 kB / 0.6479 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.1432, allocations: 16 kB / 0.6479 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1432, allocations: 0 / 0.6479 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1433, allocations: 3.984 kB / 0.6479 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1433, allocations: 0 / 0.6479 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1433, allocations: 0 / 0.6479 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.1441, allocations: 1.07 MB / 0.649 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1442, allocations: 85.2 kB / 0.6491 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.1442, allocations: 3.938 kB / 0.6491 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1443, allocations: 16.08 kB / 0.6491 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1443, allocations: 0 / 0.6491 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1443, allocations: 4 kB / 0.6491 GB, free: 13.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.566e-05/0.1444, allocations: 87.28 kB / 0.6492 GB, free: 12.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1444, allocations: 0 / 0.6492 GB, free: 12.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.1447, allocations: 16 kB / 0.6492 GB, free: 12.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0001103/0.1448, allocations: 99.23 kB / 0.6493 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.358e-05/0.1449, allocations: 47.86 kB / 0.6493 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1449, allocations: 0 / 0.6493 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.1449, allocations: 12.25 kB / 0.6493 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1452, allocations: 13.08 kB / 0.6493 GB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.1459, allocations: 454.7 kB / 0.6498 GB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1461, allocations: 0.6848 MB / 0.6504 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.1462, allocations: 11.98 kB / 0.6505 GB, free: 11.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.1462, allocations: 11.44 kB / 0.6505 GB, free: 11.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1462, allocations: 3.938 kB / 0.6505 GB, free: 11.51 MB / 458.7 MB Notification: Performance of Templates: time 0.002464/0.1487, allocations: 0.6398 MB / 0.6511 GB, free: 10.88 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)