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.001133/0.001133, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001178/0.001178, allocations: 193.6 kB / 16.25 MB, free: 6.637 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.54/1.54, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.42/0.42, allocations: 54.93 MB / 324.4 MB, free: 136 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.001442/0.001442, allocations: 63.91 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1393, allocations: 59.59 MB / 454.4 MB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4633/0.6026, allocations: 191.3 MB / 0.6306 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.6129, allocations: 5.431 MB / 0.636 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.6147, allocations: 39.75 kB / 0.636 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002473/0.6172, allocations: 0.8281 MB / 0.6368 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.6225, allocations: 1.868 MB / 0.6386 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3292/0.9517, allocations: 1.3 MB / 0.6399 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004976/0.9567, allocations: 3.84 MB / 0.6436 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.9582, allocations: 1.117 MB / 0.6447 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004273/0.9625, allocations: 1.635 MB / 0.6463 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.9664, allocations: 1.224 MB / 0.6475 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005021/0.9669, allocations: 159.6 kB / 0.6477 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0035/0.9704, allocations: 1.438 MB / 0.6491 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008661/0.9713, allocations: 0.551 MB / 0.6496 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.9733, allocations: 0.8574 MB / 0.6505 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.9783, allocations: 2.965 MB / 0.6534 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.9783, allocations: 3.094 kB / 0.6534 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.386e-06/0.9783, allocations: 0 / 0.6534 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.545e-05/0.9784, allocations: 1.203 kB / 0.6534 GB, free: 3.387 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.005927/0.9843, allocations: 1.973 MB / 0.6553 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.9844, allocations: 11.64 kB / 0.6553 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.9879, allocations: 0.5485 MB / 0.6558 GB, free: 18.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.9905, allocations: 1.087 MB / 0.6569 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001199/0.9917, allocations: 303.9 kB / 0.6572 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.992, allocations: 107.6 kB / 0.6573 GB, free: 18.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.9959, allocations: 1.734 MB / 0.659 GB, free: 17.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.996, allocations: 4.969 kB / 0.659 GB, free: 17.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.9962, allocations: 51.69 kB / 0.659 GB, free: 17.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.466e-05/0.9962, allocations: 55.44 kB / 0.6591 GB, free: 17.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004179/1, allocations: 1.625 MB / 0.6607 GB, free: 17.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/1.011, allocations: 6.156 MB / 0.6667 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/1.013, allocations: 0.642 MB / 0.6673 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/1.013, allocations: 376.4 kB / 0.6677 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/1.014, allocations: 9.484 kB / 0.6677 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/1.015, allocations: 0.7421 MB / 0.6684 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/1.015, allocations: 0.6875 kB / 0.6684 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=51): time 0.003349/1.018, allocations: 1.186 MB / 0.6696 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005028/1.019, allocations: 0.9274 MB / 0.6705 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/1.022, allocations: 1.605 MB / 0.672 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002272/1.022, allocations: 44.52 kB / 0.6721 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/1.023, allocations: 0.6443 MB / 0.6727 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.023, allocations: 174.4 kB / 0.6729 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004594/1.024, allocations: 245.3 kB / 0.6731 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.024, allocations: 337.7 kB / 0.6734 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.025, allocations: 0.5159 MB / 0.6739 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.027, allocations: 1.036 MB / 0.6749 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.03, allocations: 1.238 MB / 0.6762 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.03, allocations: 4.5 kB / 0.6762 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004087/1.034, allocations: 1.543 MB / 0.6777 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/1.034, allocations: 38.88 kB / 0.6777 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.034, allocations: 14.8 kB / 0.6777 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/1.034, allocations: 16.83 kB / 0.6777 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.035, allocations: 267.7 kB / 0.678 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/1.035, allocations: 20.02 kB / 0.678 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.038, allocations: 361.8 kB / 0.6784 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/1.038, allocations: 50.36 kB / 0.6784 GB, free: 11.09 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.0007424/1.039, allocations: 414 kB / 0.6788 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/1.039, allocations: 151.5 kB / 0.6789 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/1.039, allocations: 159.1 kB / 0.6791 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.039, allocations: 8.094 kB / 0.6791 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.039, allocations: 0 / 0.6791 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/1.039, allocations: 3.828 kB / 0.6791 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/1.043, allocations: 3.319 MB / 0.6823 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.043, allocations: 8.359 kB / 0.6824 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/1.044, allocations: 119.9 kB / 0.6825 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/1.044, allocations: 6.719 kB / 0.6825 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/1.044, allocations: 27.06 kB / 0.6825 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/1.044, allocations: 11.34 kB / 0.6825 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/1.044, allocations: 11.22 kB / 0.6825 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.046, allocations: 1.21 MB / 0.6837 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/1.047, allocations: 390.4 kB / 0.6841 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/1.047, allocations: 29.86 kB / 0.6841 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.048, allocations: 124.9 kB / 0.6842 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/1.049, allocations: 56.91 kB / 0.6843 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/1.049, allocations: 29 kB / 0.6843 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001684/1.05, allocations: 1.132 MB / 0.6854 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/1.05, allocations: 0 / 0.6854 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00121/1.052, allocations: 375.4 kB / 0.6858 GB, free: 8.996 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.0006249/1.052, allocations: 229.8 kB / 0.686 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002543/1.055, allocations: 1.165 MB / 0.6871 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.055, allocations: 2.719 kB / 0.6871 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/1.056, allocations: 489.8 kB / 0.6876 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.059, allocations: 0.7889 MB / 0.6884 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/1.063, allocations: 2.691 MB / 0.691 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/1.064, allocations: 1.164 MB / 0.6921 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001756/1.066, allocations: 342.6 kB / 0.6925 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/1.066, allocations: 103.5 kB / 0.6926 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/1.066, allocations: 0 / 0.6926 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of Templates: time 0.05026/1.116, allocations: 30.15 MB / 0.722 GB, free: 14.16 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)