Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001203/0.001203, allocations: 194.8 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 222 MB, free: 5.016 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4208/0.4208, allocations: 54.93 MB / 324.3 MB, free: 64 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 59.91 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1755, allocations: 59.6 MB / 454.3 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4934/0.669, allocations: 191.5 MB / 0.6306 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009313/0.6784, allocations: 5.535 MB / 0.636 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.6802, allocations: 35.75 kB / 0.6361 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.6829, allocations: 0.8046 MB / 0.6368 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.6889, allocations: 1.871 MB / 0.6387 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3189/1.008, allocations: 1.27 MB / 0.6399 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006272/1.014, allocations: 4.997 MB / 0.6448 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/1.016, allocations: 0.9349 MB / 0.6457 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/1.019, allocations: 1.359 MB / 0.647 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/1.021, allocations: 1.173 MB / 0.6482 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/1.022, allocations: 67.72 kB / 0.6482 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/1.025, allocations: 1.418 MB / 0.6496 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005714/1.025, allocations: 466.5 kB / 0.6501 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.026, allocations: 0.7624 MB / 0.6508 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003761/1.03, allocations: 2.871 MB / 0.6536 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.03, allocations: 0 / 0.6536 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/1.03, allocations: 5.031 kB / 0.6536 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.814e-05/1.03, allocations: 0 / 0.6536 GB, free: 3.445 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005393/1.036, allocations: 1.975 MB / 0.6556 GB, free: 18.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.036, allocations: 9.312 kB / 0.6556 GB, free: 18.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/1.039, allocations: 0.5507 MB / 0.6561 GB, free: 18.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/1.042, allocations: 1.081 MB / 0.6572 GB, free: 18.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001217/1.043, allocations: 301.5 kB / 0.6574 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.043, allocations: 111.8 kB / 0.6576 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/1.047, allocations: 1.734 MB / 0.6593 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.047, allocations: 5.594 kB / 0.6593 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/1.047, allocations: 54.27 kB / 0.6593 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.141e-05/1.048, allocations: 50.41 kB / 0.6594 GB, free: 17.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004581/1.052, allocations: 1.634 MB / 0.661 GB, free: 17.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/1.063, allocations: 6.154 MB / 0.667 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/1.065, allocations: 0.642 MB / 0.6676 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/1.066, allocations: 377.8 kB / 0.6679 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/1.066, allocations: 12.41 kB / 0.668 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/1.067, allocations: 0.7402 MB / 0.6687 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=51): time 2.766e-06/1.067, allocations: 0 / 0.6687 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=51): time 0.003377/1.071, allocations: 1.186 MB / 0.6698 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006084/1.071, allocations: 0.9315 MB / 0.6707 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/1.075, allocations: 1.606 MB / 0.6723 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/1.075, allocations: 40.27 kB / 0.6724 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/1.076, allocations: 0.6425 MB / 0.673 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/1.076, allocations: 176.1 kB / 0.6732 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005397/1.076, allocations: 244.2 kB / 0.6734 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.077, allocations: 343.2 kB / 0.6737 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/1.078, allocations: 0.5076 MB / 0.6742 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/1.08, allocations: 1.041 MB / 0.6752 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.083, allocations: 1.233 MB / 0.6764 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-06/1.083, allocations: 8.406 kB / 0.6764 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003686/1.086, allocations: 1.542 MB / 0.6779 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/1.086, allocations: 41.64 kB / 0.678 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.086, allocations: 12.56 kB / 0.678 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.086, allocations: 13.22 kB / 0.678 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.088, allocations: 270.9 kB / 0.6783 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/1.088, allocations: 21.61 kB / 0.6783 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/1.09, allocations: 357.3 kB / 0.6786 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/1.09, allocations: 48.59 kB / 0.6787 GB, free: 10.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (105): * Single equations (assignments): 104 * 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.0007211/1.091, allocations: 414.8 kB / 0.6791 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/1.091, allocations: 149.5 kB / 0.6792 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/1.091, allocations: 160.3 kB / 0.6794 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.091, allocations: 5.062 kB / 0.6794 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.091, allocations: 1.781 kB / 0.6794 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.092, allocations: 4.5 kB / 0.6794 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/1.096, allocations: 3.32 MB / 0.6826 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.096, allocations: 7.562 kB / 0.6826 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/1.097, allocations: 112.2 kB / 0.6827 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/1.097, allocations: 10.28 kB / 0.6827 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/1.097, allocations: 28.19 kB / 0.6828 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/1.097, allocations: 12.48 kB / 0.6828 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.097, allocations: 11.56 kB / 0.6828 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.099, allocations: 1.221 MB / 0.684 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000737/1.1, allocations: 386.4 kB / 0.6844 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/1.1, allocations: 29.47 kB / 0.6844 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.101, allocations: 127.1 kB / 0.6845 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.102, allocations: 50.38 kB / 0.6845 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/1.102, allocations: 30.53 kB / 0.6846 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00185/1.104, allocations: 1.135 MB / 0.6857 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/1.104, allocations: 0 / 0.6857 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001458/1.105, allocations: 370.1 kB / 0.686 GB, free: 8.727 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.0005926/1.106, allocations: 237.3 kB / 0.6863 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00259/1.108, allocations: 1.143 MB / 0.6874 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.108, allocations: 2.656 kB / 0.6874 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/1.109, allocations: 487.5 kB / 0.6879 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/1.113, allocations: 0.765 MB / 0.6886 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/1.117, allocations: 2.694 MB / 0.6912 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/1.118, allocations: 1.158 MB / 0.6924 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001882/1.12, allocations: 345 kB / 0.6927 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/1.12, allocations: 101.6 kB / 0.6928 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of SimCode: time 1.793e-06/1.12, allocations: 0 / 0.6928 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.04792/1.168, allocations: 29.19 MB / 0.7213 GB, free: 13.09 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)