Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Annex60.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.306/0.306, allocations: 54.41 MB / 61.89 MB, free: 13.77 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001133/0.001132, allocations: 184.2 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.779/1.779, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001861/0.001861, allocations: 118.1 kB / 341.6 MB, free: 4.02 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.283e-05, allocations: 4 kB / 405.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3828, allocations: 57.65 MB / 463.1 MB, free: 51.7 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6834/1.066, allocations: 328.5 MB / 0.7731 GB, free: 12.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.067, allocations: 91.56 kB / 0.7732 GB, free: 12.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.733/1.8, allocations: 233.2 MB / 1.001 GB, free: 25.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.494e-06/1.8, allocations: 0 / 1.001 GB, free: 25.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.529e-05/1.8, allocations: 19.98 kB / 1.001 GB, free: 25.15 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001981/1.802, allocations: 0.9295 MB / 1.002 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.802, allocations: 11.97 kB / 1.002 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/1.803, allocations: 187 kB / 1.002 GB, free: 23.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/1.823, allocations: 11.09 MB / 1.013 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/1.823, allocations: 89.25 kB / 1.013 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/1.823, allocations: 31.94 kB / 1.013 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005859/1.824, allocations: 330.5 kB / 1.013 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/1.825, allocations: 0.4966 MB / 1.014 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.825, allocations: 3.938 kB / 1.014 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/1.825, allocations: 8 kB / 1.014 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/1.825, allocations: 12 kB / 1.014 GB, free: 11.7 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/1.828, allocations: 3.046 MB / 1.017 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/1.828, allocations: 266.8 kB / 1.017 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/1.828, allocations: 157 kB / 1.017 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/1.828, allocations: 8.234 kB / 1.017 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/1.829, allocations: 261.5 kB / 1.017 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/1.829, allocations: 0 / 1.017 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.004201/1.833, allocations: 1.377 MB / 1.019 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/1.833, allocations: 191.9 kB / 1.019 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/1.833, allocations: 377.4 kB / 1.019 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/1.833, allocations: 25.7 kB / 1.019 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/1.834, allocations: 323.5 kB / 1.02 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/1.834, allocations: 110.4 kB / 1.02 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.834, allocations: 3.938 kB / 1.02 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.834, allocations: 362.7 kB / 1.02 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/1.834, allocations: 136.8 kB / 1.02 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.834, allocations: 298.6 kB / 1.021 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/1.835, allocations: 172.5 kB / 1.021 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.835, allocations: 0 / 1.021 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002389/1.837, allocations: 0.7762 MB / 1.021 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005206/1.837, allocations: 1.348 MB / 1.023 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.837, allocations: 4 kB / 1.023 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/1.838, allocations: 88.81 kB / 1.023 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/1.838, allocations: 107.9 kB / 1.023 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/1.839, allocations: 0.7709 MB / 1.024 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/1.84, allocations: 83.98 kB / 1.024 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/1.84, allocations: 27.98 kB / 1.024 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.84, allocations: 4 kB / 1.024 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000702/1.841, allocations: 412.8 kB / 1.024 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.841, allocations: 4 kB / 1.024 GB, free: 416 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/1.841, allocations: 49.2 kB / 1.024 GB, free: 364 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/1.842, allocations: 111.9 kB / 1.024 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3587/2.2, allocations: 1.565 MB / 1.026 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/2.201, allocations: 60.42 kB / 1.026 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/2.201, allocations: 22.05 kB / 1.026 GB, free: 104.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002304/2.201, allocations: 162.4 kB / 1.026 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/2.202, allocations: 54.28 kB / 1.026 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/2.204, allocations: 0.7133 MB / 1.027 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/2.204, allocations: 3.281 kB / 1.027 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/2.204, allocations: 1 kB / 1.027 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002065/2.206, allocations: 0.8906 MB / 1.028 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/2.209, allocations: 1.349 MB / 1.029 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.209, allocations: 4.578 kB / 1.029 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/2.21, allocations: 71.61 kB / 1.029 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/2.21, allocations: 121.3 kB / 1.029 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/2.21, allocations: 10.73 kB / 1.029 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/2.214, allocations: 2.63 MB / 1.032 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/2.214, allocations: 1.375 kB / 1.032 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/2.217, allocations: 1.057 MB / 1.033 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/2.217, allocations: 176.9 kB / 1.033 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.69e-05/2.217, allocations: 3.656 kB / 1.033 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/2.218, allocations: 95.33 kB / 1.033 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/2.218, allocations: 26.52 kB / 1.033 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/2.218, allocations: 18.23 kB / 1.033 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003447/2.218, allocations: 292 kB / 1.033 GB, free: 101 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.255e-06/2.218, allocations: 0 / 1.033 GB, free: 101 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001583/2.22, allocations: 377.3 kB / 1.034 GB, free: 101 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dyn.U) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007774/2.221, allocations: 384.3 kB / 1.034 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001866/2.223, allocations: 0.9949 MB / 1.035 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.223, allocations: 1.312 kB / 1.035 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/2.224, allocations: 0.4958 MB / 1.036 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/2.225, allocations: 226.3 kB / 1.036 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/2.226, allocations: 0.7787 MB / 1.037 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/2.227, allocations: 0.9081 MB / 1.038 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006696/2.227, allocations: 156.9 kB / 1.038 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/2.227, allocations: 34.55 kB / 1.038 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of SimCode: time 2.525e-06/2.228, allocations: 0 / 1.038 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.02767/2.255, allocations: 12.27 MB / 1.05 GB, free: 99.29 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)