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.0008738/0.000874, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007135/0.007135, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.533/1.533, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4074/0.4074, allocations: 55.01 MB / 325.8 MB, free: 0.5352 MB / 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.0005782/0.0005781, allocations: 12 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4485, allocations: 60.72 MB / 458 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2406/0.6891, allocations: 189 MB / 0.6318 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.6994, allocations: 5.469 MB / 0.6371 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.701, allocations: 35.69 kB / 0.6372 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.7033, allocations: 0.8007 MB / 0.638 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.7087, allocations: 1.875 MB / 0.6398 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.7122, allocations: 1.277 MB / 0.641 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.4143/1.126, allocations: 4.999 MB / 0.6459 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/1.129, allocations: 0.913 MB / 0.6468 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/1.133, allocations: 1.345 MB / 0.6481 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003964/1.137, allocations: 1.144 MB / 0.6492 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003997/1.137, allocations: 59.72 kB / 0.6493 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/1.141, allocations: 1.423 MB / 0.6507 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007136/1.142, allocations: 454.7 kB / 0.6511 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/1.143, allocations: 0.7731 MB / 0.6519 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/1.147, allocations: 2.832 MB / 0.6546 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.147, allocations: 0 / 0.6546 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/1.147, allocations: 0 / 0.6546 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-05/1.147, allocations: 0 / 0.6546 GB, free: 4.152 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.005/1.152, allocations: 1.622 MB / 0.6562 GB, free: 19.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.153, allocations: 12.47 kB / 0.6562 GB, free: 19.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/1.156, allocations: 0.6189 MB / 0.6568 GB, free: 19.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/1.159, allocations: 1.098 MB / 0.6579 GB, free: 18.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00137/1.16, allocations: 340.9 kB / 0.6582 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/1.16, allocations: 104.3 kB / 0.6583 GB, free: 18.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/1.165, allocations: 1.76 MB / 0.6601 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/1.165, allocations: 4.5 kB / 0.6601 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/1.165, allocations: 53 kB / 0.6601 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.226e-05/1.165, allocations: 53.09 kB / 0.6602 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/1.17, allocations: 1.681 MB / 0.6618 GB, free: 18.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/1.181, allocations: 6.199 MB / 0.6679 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/1.183, allocations: 0.6587 MB / 0.6685 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/1.184, allocations: 379.2 kB / 0.6689 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/1.184, allocations: 16.53 kB / 0.6689 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/1.185, allocations: 0.7471 MB / 0.6696 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=51): time 2.595e-06/1.185, allocations: 5.219 kB / 0.6696 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=51): time 0.003277/1.189, allocations: 1.212 MB / 0.6708 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004468/1.189, allocations: 0.9296 MB / 0.6717 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/1.193, allocations: 1.62 MB / 0.6733 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/1.193, allocations: 41.08 kB / 0.6733 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/1.194, allocations: 0.6405 MB / 0.6739 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/1.195, allocations: 176.4 kB / 0.6741 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/1.195, allocations: 73.98 kB / 0.6742 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.195, allocations: 341.8 kB / 0.6745 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.197, allocations: 0.5361 MB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/1.199, allocations: 1.073 MB / 0.6761 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.202, allocations: 1.265 MB / 0.6773 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/1.202, allocations: 4.547 kB / 0.6773 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005128/1.207, allocations: 1.597 MB / 0.6789 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.207, allocations: 40.19 kB / 0.6789 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.207, allocations: 13.16 kB / 0.6789 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/1.207, allocations: 14.84 kB / 0.6789 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.208, allocations: 281.3 kB / 0.6792 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.081e-05/1.208, allocations: 17.25 kB / 0.6792 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/1.212, allocations: 395.5 kB / 0.6796 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.212, allocations: 50.73 kB / 0.6797 GB, free: 11.53 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.001259/1.213, allocations: 411.2 kB / 0.6801 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/1.214, allocations: 151.1 kB / 0.6802 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/1.214, allocations: 155.6 kB / 0.6803 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.215, allocations: 7.25 kB / 0.6803 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.215, allocations: 1.969 kB / 0.6804 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/1.215, allocations: 1.75 kB / 0.6804 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/1.221, allocations: 3.345 MB / 0.6836 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/1.221, allocations: 6.469 kB / 0.6836 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/1.222, allocations: 113.3 kB / 0.6837 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.15e-05/1.222, allocations: 9.5 kB / 0.6837 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/1.222, allocations: 25.61 kB / 0.6838 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-05/1.222, allocations: 11.91 kB / 0.6838 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/1.222, allocations: 11.41 kB / 0.6838 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/1.225, allocations: 1.235 MB / 0.685 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.226, allocations: 388.4 kB / 0.6854 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007355/1.227, allocations: 23.97 kB / 0.6854 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/1.229, allocations: 145.8 kB / 0.6855 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.229, allocations: 50.45 kB / 0.6856 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.229, allocations: 35.66 kB / 0.6856 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003056/1.232, allocations: 1.152 MB / 0.6867 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/1.232, allocations: 0 / 0.6867 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002292/1.234, allocations: 375.4 kB / 0.6871 GB, free: 9.43 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.0008407/1.235, allocations: 228 kB / 0.6873 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003136/1.238, allocations: 1.178 MB / 0.6885 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.238, allocations: 3.375 kB / 0.6885 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/1.239, allocations: 491.4 kB / 0.6889 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005944/1.245, allocations: 0.7645 MB / 0.6897 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/1.251, allocations: 2.733 MB / 0.6923 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.252, allocations: 1.157 MB / 0.6935 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002257/1.254, allocations: 344.2 kB / 0.6938 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.255, allocations: 106.1 kB / 0.6939 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of SimCode: time 1.011e-06/1.255, allocations: 0 / 0.6939 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of Templates: time 0.05743/1.312, allocations: 29.06 MB / 0.7223 GB, free: 15.83 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: