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.001142/0.001142, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001076/0.001076, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.88 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 80.22 MB / 0.6604 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5014/0.6316, allocations: 194 MB / 0.8498 GB, free: 460 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.6418, allocations: 6.926 MB / 0.8566 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009588/0.6428, allocations: 44.84 kB / 0.8566 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.6444, allocations: 0.7081 MB / 0.8573 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.6494, allocations: 2.437 MB / 0.8597 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.6525, allocations: 1.433 MB / 0.8611 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003282/0.6558, allocations: 2.997 MB / 0.864 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.657, allocations: 0.8889 MB / 0.8649 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.6591, allocations: 1.159 MB / 0.866 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.6602, allocations: 0.7901 MB / 0.8668 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.6603, allocations: 104 kB / 0.8669 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.664, allocations: 2.07 MB / 0.8689 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.6644, allocations: 362.9 kB / 0.8692 GB, free: 96 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005873/0.665, allocations: 0.5908 MB / 0.8698 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.6681, allocations: 2.43 MB / 0.8722 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6681, allocations: 0 / 0.8722 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6681, allocations: 4 kB / 0.8722 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.6681, allocations: 0 / 0.8722 GB, free: 13.05 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.003122/0.6712, allocations: 1.681 MB / 0.8738 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6713, allocations: 12.03 kB / 0.8738 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.6742, allocations: 0.5338 MB / 0.8744 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.6764, allocations: 1.049 MB / 0.8754 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.6764, allocations: 53.31 kB / 0.8754 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6766, allocations: 64 kB / 0.8755 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.6789, allocations: 1.113 MB / 0.8766 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.6789, allocations: 3.938 kB / 0.8766 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.679, allocations: 28 kB / 0.8766 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.6791, allocations: 41.23 kB / 0.8767 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.6821, allocations: 1.161 MB / 0.8778 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.6874, allocations: 3.171 MB / 0.8809 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.6891, allocations: 0.6763 MB / 0.8816 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/0.6899, allocations: 434 kB / 0.882 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008939/0.6908, allocations: 1.013 MB / 0.883 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.6918, allocations: 0.5221 MB / 0.8835 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.6919, allocations: 0 / 0.8835 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002905/0.6948, allocations: 1.233 MB / 0.8847 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.6949, allocations: 140.9 kB / 0.8848 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.6966, allocations: 1.172 MB / 0.8859 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.62e-05/0.6967, allocations: 41.7 kB / 0.886 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.6971, allocations: 445.8 kB / 0.8864 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.6973, allocations: 198.1 kB / 0.8866 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.6975, allocations: 146.1 kB / 0.8867 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6977, allocations: 330 kB / 0.8871 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6989, allocations: 440.9 kB / 0.8875 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.7002, allocations: 0.5899 MB / 0.8881 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.7022, allocations: 0.9262 MB / 0.889 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7022, allocations: 8 kB / 0.889 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002926/0.7052, allocations: 1.202 MB / 0.8901 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.7052, allocations: 43.25 kB / 0.8902 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7052, allocations: 4 kB / 0.8902 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.7053, allocations: 4.281 kB / 0.8902 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009404/0.7062, allocations: 195.7 kB / 0.8904 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.7062, allocations: 4 kB / 0.8904 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.7076, allocations: 244.2 kB / 0.8906 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.7077, allocations: 35.98 kB / 0.8906 GB, free: 9.484 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.00043/0.7082, allocations: 340.1 kB / 0.891 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.7084, allocations: 119.2 kB / 0.8911 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.7104, allocations: 0.992 MB / 0.8921 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.7104, allocations: 11.92 kB / 0.8921 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7105, allocations: 4 kB / 0.8921 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.7109, allocations: 324 kB / 0.8924 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.7111, allocations: 12 kB / 0.8924 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.712, allocations: 91.91 kB / 0.8925 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.7121, allocations: 36.39 kB / 0.8925 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002231/0.7144, allocations: 1.216 MB / 0.8937 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002014/0.7164, allocations: 1.3 MB / 0.895 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007708/0.7172, allocations: 415.5 kB / 0.8954 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001389/0.7186, allocations: 0.8482 MB / 0.8962 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of Backend: time 4.31e-07/0.7186, allocations: 0 / 0.8962 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003321/0.7219, allocations: 1.189 MB / 0.8974 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of SimCode: time 0.00351/0.7254, allocations: 2.37 MB / 0.8997 GB, free: 104 kB / 0.6544 GB Notification: Performance of Templates: time 0.03989/0.7653, allocations: 26.74 MB / 0.9258 GB, free: 5.543 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)