Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.00176/0.00176, allocations: 192.3 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7744/0.7744, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.59 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1253, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4904/0.6157, allocations: 194 MB / 0.8498 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.6258, allocations: 6.928 MB / 0.8566 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.6272, allocations: 51 kB / 0.8566 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.6291, allocations: 0.6978 MB / 0.8573 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.6348, allocations: 2.432 MB / 0.8597 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.6381, allocations: 1.434 MB / 0.8611 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00366/0.6417, allocations: 3.003 MB / 0.864 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.6432, allocations: 0.8953 MB / 0.8649 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.6458, allocations: 1.161 MB / 0.866 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.6472, allocations: 0.7903 MB / 0.8668 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.6475, allocations: 96 kB / 0.8669 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.6515, allocations: 2.07 MB / 0.8689 GB, free: 468 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.652, allocations: 366.9 kB / 0.8692 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009108/0.6529, allocations: 0.5831 MB / 0.8698 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.6569, allocations: 2.431 MB / 0.8722 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6569, allocations: 0 / 0.8722 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6569, allocations: 0 / 0.8722 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.657, allocations: 0 / 0.8722 GB, free: 13.07 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003944/0.6609, allocations: 1.633 MB / 0.8738 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.661, allocations: 8.031 kB / 0.8738 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/0.6641, allocations: 0.5331 MB / 0.8743 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.6665, allocations: 1.035 MB / 0.8753 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.6665, allocations: 53.31 kB / 0.8754 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.6667, allocations: 75.94 kB / 0.8754 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.6692, allocations: 1.109 MB / 0.8765 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6693, allocations: 7.938 kB / 0.8765 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.6694, allocations: 27.98 kB / 0.8766 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.6694, allocations: 37.3 kB / 0.8766 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.6725, allocations: 1.157 MB / 0.8777 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/0.6782, allocations: 3.162 MB / 0.8808 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6799, allocations: 0.6841 MB / 0.8815 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/0.6808, allocations: 426 kB / 0.8819 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008512/0.6816, allocations: 1.025 MB / 0.8829 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.6826, allocations: 0.5142 MB / 0.8834 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 4.128e-06/0.6827, allocations: 3.984 kB / 0.8834 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002961/0.6856, allocations: 1.225 MB / 0.8846 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.6857, allocations: 136.9 kB / 0.8847 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.6876, allocations: 1.18 MB / 0.8859 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.6877, allocations: 37.7 kB / 0.8859 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.688, allocations: 433.5 kB / 0.8863 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.6882, allocations: 193.2 kB / 0.8865 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.6884, allocations: 146.1 kB / 0.8866 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6886, allocations: 326 kB / 0.887 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6898, allocations: 448.8 kB / 0.8874 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.6912, allocations: 0.5938 MB / 0.888 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.6933, allocations: 0.9301 MB / 0.8889 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6933, allocations: 0 / 0.8889 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003103/0.6964, allocations: 1.197 MB / 0.89 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.6965, allocations: 41.69 kB / 0.8901 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6965, allocations: 4 kB / 0.8901 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.6965, allocations: 8 kB / 0.8901 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.6975, allocations: 187.8 kB / 0.8903 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.6975, allocations: 8 kB / 0.8903 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.699, allocations: 238.9 kB / 0.8905 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/0.6991, allocations: 35.98 kB / 0.8905 GB, free: 9.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0004756/0.6996, allocations: 336.1 kB / 0.8909 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.6998, allocations: 114.6 kB / 0.891 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.7019, allocations: 0.9921 MB / 0.8919 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.702, allocations: 7.922 kB / 0.8919 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.702, allocations: 3.938 kB / 0.892 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000517/0.7025, allocations: 323.2 kB / 0.8923 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.7027, allocations: 16 kB / 0.8923 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.7037, allocations: 95.91 kB / 0.8924 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.7038, allocations: 32.39 kB / 0.8924 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002235/0.706, allocations: 1.209 MB / 0.8936 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002026/0.7081, allocations: 1.295 MB / 0.8948 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008031/0.7089, allocations: 419.3 kB / 0.8952 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001547/0.7105, allocations: 0.8482 MB / 0.8961 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of Backend: time 1.914e-06/0.7105, allocations: 0 / 0.8961 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.7143, allocations: 1.191 MB / 0.8972 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003967/0.7183, allocations: 2.324 MB / 0.8995 GB, free: 268 kB / 0.6544 GB Notification: Performance of Templates: time 0.04086/0.7591, allocations: 26.74 MB / 0.9256 GB, free: 5.711 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)