Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7891/0.7891, allocations: 150.9 MB / 166 MB, free: 14.34 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 19.97 kB / 204 MB, free: 9.941 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 31.33 MB / 235.4 MB, free: 5.492 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe): time 1.497/1.63, allocations: 293.8 MB / 0.5167 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03098/1.661, allocations: 27.75 MB / 0.5438 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/1.662, allocations: 4 kB / 0.5438 GB, free: 1.152 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:115:3-116:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicOnePhaseFlowPipe.mo:117:3-118:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005231/1.662, allocations: 168.1 kB / 0.544 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/1.663, allocations: 366.2 kB / 0.5444 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01382/1.676, allocations: 5.606 MB / 0.5498 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003897/1.68, allocations: 4.912 MB / 0.5546 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/1.682, allocations: 1.431 MB / 0.556 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/1.683, allocations: 1.414 MB / 0.5574 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/1.685, allocations: 1.694 MB / 0.5591 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003185/1.686, allocations: 132 kB / 0.5592 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02365/1.709, allocations: 16.17 MB / 0.575 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.71, allocations: 1.005 MB / 0.576 GB, free: 232 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001982/1.712, allocations: 1.497 MB / 0.5774 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.728, allocations: 10.06 MB / 0.5872 GB, free: 4.637 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.728, allocations: 3.938 kB / 0.5872 GB, free: 4.633 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.72e-07/1.728, allocations: 0 / 0.5872 GB, free: 4.633 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/1.728, allocations: 0 / 0.5872 GB, free: 4.633 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.01293/1.741, allocations: 4.131 MB / 0.5913 GB, free: 452 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.741, allocations: 16.03 kB / 0.5913 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/1.742, allocations: 269.6 kB / 0.5916 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.743, allocations: 1.033 MB / 0.5926 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/1.744, allocations: 448.6 kB / 0.593 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/1.744, allocations: 207.8 kB / 0.5932 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006305/1.75, allocations: 3.868 MB / 0.597 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/1.751, allocations: 0 / 0.597 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/1.751, allocations: 79.94 kB / 0.597 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/1.751, allocations: 107.9 kB / 0.5971 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006116/1.757, allocations: 3.389 MB / 0.6005 GB, free: 6.887 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.04994/1.807, allocations: 29.28 MB / 0.629 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/1.821, allocations: 4.003 MB / 0.633 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004212/1.825, allocations: 2.575 MB / 0.6355 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07694/1.902, allocations: 36.86 MB / 0.6715 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.902, allocations: 56.56 kB / 0.6715 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=591): time 4.608e-06/1.902, allocations: 0 / 0.6715 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=591): time 0.02269/1.925, allocations: 10.68 MB / 0.682 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.925, allocations: 77.41 kB / 0.682 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/1.925, allocations: 0.5966 MB / 0.6826 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.926, allocations: 77.7 kB / 0.6827 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/1.926, allocations: 483.6 kB / 0.6831 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/1.927, allocations: 1.959 MB / 0.6851 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009781/1.928, allocations: 0.6357 MB / 0.6857 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.928, allocations: 353.9 kB / 0.686 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/1.932, allocations: 2.178 MB / 0.6881 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/1.936, allocations: 2.566 MB / 0.6906 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1554/2.092, allocations: 5.316 MB / 0.6958 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/2.092, allocations: 1.375 kB / 0.6958 GB, free: 219.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01278/2.105, allocations: 7.069 MB / 0.7027 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/2.105, allocations: 8 kB / 0.7027 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/2.105, allocations: 12.5 kB / 0.7028 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02677/2.131, allocations: 12.42 MB / 0.7149 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/2.136, allocations: 0.5585 MB / 0.7154 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/2.147, allocations: 6.764 MB / 0.722 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/2.15, allocations: 441.8 kB / 0.7225 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/2.15, allocations: 117 kB / 0.7226 GB, free: 218.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,dynamicOnePhaseFlowPipe.C2.b,dynamicOnePhaseFlowPipe.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(23,106)} Notification: Performance of prepare postOptimizeDAE: time 0.001188/2.151, allocations: 0.7671 MB / 0.7233 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/2.152, allocations: 207.9 kB / 0.7235 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/2.168, allocations: 14.22 MB / 0.7374 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01103/2.179, allocations: 7.29 MB / 0.7445 GB, free: 201.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/2.179, allocations: 10.3 kB / 0.7445 GB, free: 201.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/2.179, allocations: 23.91 kB / 0.7446 GB, free: 201.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/2.199, allocations: 14.36 MB / 0.7586 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/2.199, allocations: 11.98 kB / 0.7586 GB, free: 186.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01191/2.211, allocations: 2.086 MB / 0.7606 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/2.215, allocations: 1.043 MB / 0.7617 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004305/2.215, allocations: 139.9 kB / 0.7618 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/2.231, allocations: 28.07 MB / 0.7892 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.231, allocations: 3.938 kB / 0.7892 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/2.247, allocations: 10.89 MB / 0.7998 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/2.248, allocations: 0.8743 MB / 0.8007 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/2.249, allocations: 119.8 kB / 0.8008 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/2.251, allocations: 239.2 kB / 0.801 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006015/2.252, allocations: 308.2 kB / 0.8013 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/2.252, allocations: 135.9 kB / 0.8015 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004673/2.252, allocations: 0.5146 MB / 0.802 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/2.252, allocations: 0 / 0.802 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003785/2.256, allocations: 1.932 MB / 0.8038 GB, free: 137.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 41 (dynamicOnePhaseFlowPipe.P[2],dynamicOnePhaseFlowPipe.P[3],dynamicOnePhaseFlowPipe.P[4],dynamicOnePhaseFlowPipe.P[5],dynamicOnePhaseFlowPipe.P[6],dynamicOnePhaseFlowPipe.P[7],dynamicOnePhaseFlowPipe.P[8],dynamicOnePhaseFlowPipe.P[9],dynamicOnePhaseFlowPipe.P[10],dynamicOnePhaseFlowPipe.P[11],dynamicOnePhaseFlowPipe.Q[1],dynamicOnePhaseFlowPipe.Q[2],dynamicOnePhaseFlowPipe.Q[3],dynamicOnePhaseFlowPipe.Q[4],dynamicOnePhaseFlowPipe.Q[5],dynamicOnePhaseFlowPipe.Q[6],dynamicOnePhaseFlowPipe.Q[7],dynamicOnePhaseFlowPipe.Q[8],dynamicOnePhaseFlowPipe.Q[9],dynamicOnePhaseFlowPipe.Q[10],dynamicOnePhaseFlowPipe.Q[11],dynamicOnePhaseFlowPipe.h[2],dynamicOnePhaseFlowPipe.h[3],dynamicOnePhaseFlowPipe.h[4],dynamicOnePhaseFlowPipe.h[5],dynamicOnePhaseFlowPipe.h[6],dynamicOnePhaseFlowPipe.h[7],dynamicOnePhaseFlowPipe.h[8],dynamicOnePhaseFlowPipe.h[9],dynamicOnePhaseFlowPipe.h[10],dynamicOnePhaseFlowPipe.h[11],heatExchangerWall.Tp[1],heatExchangerWall.Tp[2],heatExchangerWall.Tp[3],heatExchangerWall.Tp[4],heatExchangerWall.Tp[5],heatExchangerWall.Tp[6],heatExchangerWall.Tp[7],heatExchangerWall.Tp[8],heatExchangerWall.Tp[9],heatExchangerWall.Tp[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003716/2.26, allocations: 1.368 MB / 0.8052 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01588/2.276, allocations: 8.975 MB / 0.8139 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.276, allocations: 0.9375 kB / 0.8139 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0077/2.283, allocations: 6.279 MB / 0.8201 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00578/2.289, allocations: 1.467 MB / 0.8215 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/2.304, allocations: 12.2 MB / 0.8334 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/2.305, allocations: 2.549 MB / 0.8359 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002956/2.308, allocations: 0.9504 MB / 0.8368 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008877/2.309, allocations: 243.3 kB / 0.8371 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/2.309, allocations: 4 kB / 0.8371 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.2742/2.583, allocations: 116.7 MB / 0.951 GB, free: 203.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe 2>&1)