Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001164/0.001164, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001181/0.001182, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.194/1.194, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7122/0.7122, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 65.17 kB / 0.5862 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1182, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002015/0.1203, allocations: 1.258 MB / 0.6665 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.1235, allocations: 3.271 MB / 0.6697 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.1235, allocations: 0 / 0.6697 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.1236, allocations: 3.938 kB / 0.6697 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.1236, allocations: 3.938 kB / 0.6697 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1241, allocations: 111.5 kB / 0.6698 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.1241, allocations: 31.91 kB / 0.6698 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.1242, allocations: 8 kB / 0.6698 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.1242, allocations: 15.92 kB / 0.6699 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.1243, allocations: 23.91 kB / 0.6699 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1243, allocations: 0 / 0.6699 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1245, allocations: 79.81 kB / 0.67 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.1245, allocations: 7.984 kB / 0.67 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1246, allocations: 19.92 kB / 0.67 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1247, allocations: 67.8 kB / 0.67 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1247, allocations: 4 kB / 0.6701 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1247, allocations: 0 / 0.6701 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1248, allocations: 0 / 0.6701 GB, free: 0.8945 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.0003379/0.1251, allocations: 343.6 kB / 0.6704 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1251, allocations: 9.109 kB / 0.6704 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.907e-05/0.1252, allocations: 4.938 kB / 0.6704 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.1253, allocations: 180.2 kB / 0.6706 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1253, allocations: 4.375 kB / 0.6706 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1254, allocations: 8.375 kB / 0.6706 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1255, allocations: 57.8 kB / 0.6706 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1255, allocations: 3.938 kB / 0.6706 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1255, allocations: 0 / 0.6706 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1255, allocations: 4 kB / 0.6706 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.1256, allocations: 15.98 kB / 0.6707 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1257, allocations: 157.7 kB / 0.6708 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.1258, allocations: 58.48 kB / 0.6709 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.1259, allocations: 21.03 kB / 0.6709 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.1265, allocations: 0.5985 MB / 0.6715 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1265, allocations: 34.56 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1265, allocations: 4 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005074/0.127, allocations: 302.4 kB / 0.6718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.1271, allocations: 51.41 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.1271, allocations: 105.8 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1272, allocations: 29.64 kB / 0.672 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.1272, allocations: 88.05 kB / 0.6721 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1272, allocations: 23.72 kB / 0.6721 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.1273, allocations: 33.61 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.1274, allocations: 322.8 kB / 0.6724 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/0.1274, allocations: 15.98 kB / 0.6724 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.1275, allocations: 53.14 kB / 0.6725 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/0.1275, allocations: 69.09 kB / 0.6725 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1276, allocations: 0 / 0.6725 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/0.1277, allocations: 97.55 kB / 0.6726 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1277, allocations: 7.938 kB / 0.6726 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1277, allocations: 0 / 0.6726 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1277, allocations: 4 kB / 0.6727 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.1278, allocations: 23.92 kB / 0.6727 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1278, allocations: 4 kB / 0.6727 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.1279, allocations: 4.125 kB / 0.6727 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1279, allocations: 7.938 kB / 0.6727 GB, free: 13.78 MB / 0.5137 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.129e-05/0.1279, allocations: 113.8 kB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.128, allocations: 0 / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.128, allocations: 19.89 kB / 0.6728 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.128, allocations: 0 / 0.6728 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.128, allocations: 0 / 0.6728 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.1281, allocations: 81.02 kB / 0.6729 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1281, allocations: 11.94 kB / 0.6729 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1282, allocations: 7.984 kB / 0.6729 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.1282, allocations: 4 kB / 0.6729 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001465/0.1284, allocations: 141 kB / 0.6731 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001837/0.1286, allocations: 262.6 kB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.036e-05/0.1286, allocations: 20.03 kB / 0.6733 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.1286, allocations: 83.28 kB / 0.6734 GB, free: 13 MB / 0.5137 GB Notification: Performance of Backend: time 2.7e-07/0.1286, allocations: 0 / 0.6734 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.1291, allocations: 138.8 kB / 0.6735 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005748/0.1296, allocations: 0.7653 MB / 0.6743 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.002892/0.1325, allocations: 1.007 MB / 0.6753 GB, free: 11.04 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)