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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001196/0.001196, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 62.88 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002008/0.1296, allocations: 1.256 MB / 0.6615 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003288/0.1329, allocations: 3.267 MB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.1329, allocations: 0 / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.133, allocations: 3.938 kB / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.133, allocations: 11.92 kB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.1335, allocations: 111.5 kB / 0.6648 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.1335, allocations: 31.86 kB / 0.6649 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.1336, allocations: 4 kB / 0.6649 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.1336, allocations: 19.97 kB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.1337, allocations: 11.92 kB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.1337, allocations: 4 kB / 0.6649 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1339, allocations: 83.8 kB / 0.665 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.134, allocations: 4 kB / 0.665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.134, allocations: 19.92 kB / 0.665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1342, allocations: 71.8 kB / 0.6651 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1342, allocations: 0 / 0.6651 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1342, allocations: 4 kB / 0.6651 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1342, allocations: 0 / 0.6651 GB, free: 5.387 MB / 0.4981 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.0003575/0.1346, allocations: 343.6 kB / 0.6654 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1346, allocations: 11.97 kB / 0.6654 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/0.1347, allocations: 8.844 kB / 0.6654 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.1348, allocations: 164.3 kB / 0.6656 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.1348, allocations: 8.375 kB / 0.6656 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1348, allocations: 12.36 kB / 0.6656 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.135, allocations: 53.8 kB / 0.6657 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.135, allocations: 0 / 0.6657 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.135, allocations: 4 kB / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.135, allocations: 3.938 kB / 0.6657 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.1351, allocations: 23.97 kB / 0.6657 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1352, allocations: 165.6 kB / 0.6659 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.1353, allocations: 54.55 kB / 0.6659 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.1354, allocations: 12.86 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.136, allocations: 0.5907 MB / 0.6665 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.136, allocations: 38.55 kB / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.136, allocations: 0 / 0.6665 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005297/0.1366, allocations: 310.5 kB / 0.6668 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.1366, allocations: 59.34 kB / 0.6669 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.72e-05/0.1367, allocations: 93.86 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1367, allocations: 29.7 kB / 0.667 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.1367, allocations: 88.03 kB / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1368, allocations: 27.56 kB / 0.6671 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.1368, allocations: 29.7 kB / 0.6671 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.1369, allocations: 318.8 kB / 0.6674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.1369, allocations: 15.98 kB / 0.6675 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.137, allocations: 45.16 kB / 0.6675 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.362e-05/0.1371, allocations: 81.08 kB / 0.6676 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1371, allocations: 0 / 0.6676 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001353/0.1372, allocations: 97.7 kB / 0.6677 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1373, allocations: 8 kB / 0.6677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1373, allocations: 0 / 0.6677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1373, allocations: 3.938 kB / 0.6677 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.1374, allocations: 28.11 kB / 0.6677 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1374, allocations: 0 / 0.6677 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.1374, allocations: 8 kB / 0.6677 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1374, allocations: 7.938 kB / 0.6677 GB, free: 2.273 MB / 0.4981 GB 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.77e-05/0.1375, allocations: 113.8 kB / 0.6678 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1375, allocations: 7.906 kB / 0.6678 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.1376, allocations: 7.969 kB / 0.6679 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1376, allocations: 0 / 0.6679 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1376, allocations: 3.984 kB / 0.6679 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.1376, allocations: 85.11 kB / 0.6679 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1377, allocations: 4.375 kB / 0.6679 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1378, allocations: 4 kB / 0.6679 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.1378, allocations: 11.98 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001579/0.138, allocations: 140.9 kB / 0.6681 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000204/0.1382, allocations: 262.6 kB / 0.6683 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.139e-05/0.1382, allocations: 20.03 kB / 0.6684 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.1383, allocations: 75.28 kB / 0.6684 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of Backend: time 2.9e-07/0.1383, allocations: 4 kB / 0.6684 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.1387, allocations: 132.9 kB / 0.6686 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006434/0.1394, allocations: 0.7767 MB / 0.6693 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of Templates: time 0.003191/0.1426, allocations: 0.9954 MB / 0.6703 GB, free: 15.54 MB / 0.5137 GB 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)