Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7839/0.7839, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 11.98 kB / 204 MB, free: 10.17 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.159, allocations: 31.33 MB / 235.4 MB, free: 5.691 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.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe): time 1.63/1.789, allocations: 293.7 MB / 0.5167 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6256/2.415, allocations: 196.7 MB / 0.7088 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/2.415, allocations: 12.88 kB / 0.7088 GB, free: 3.465 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:152:3-153:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003778/2.416, allocations: 94.52 kB / 0.7089 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007757/2.416, allocations: 412.4 kB / 0.7093 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03549/2.452, allocations: 10.66 MB / 0.7197 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004798/2.457, allocations: 5.445 MB / 0.7251 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/2.459, allocations: 1.716 MB / 0.7267 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/2.46, allocations: 1.39 MB / 0.7281 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/2.463, allocations: 2.04 MB / 0.7301 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004786/2.463, allocations: 212.3 kB / 0.7303 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04809/2.511, allocations: 23.25 MB / 0.753 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002536/2.514, allocations: 1.323 MB / 0.7543 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002622/2.516, allocations: 1.52 MB / 0.7558 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04172/2.558, allocations: 15.14 MB / 0.7706 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/2.558, allocations: 2.906 kB / 0.7706 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.524e-06/2.558, allocations: 0 / 0.7706 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001019/2.558, allocations: 4 kB / 0.7706 GB, free: 8.105 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.01842/2.577, allocations: 4.828 MB / 0.7753 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/2.577, allocations: 16.03 kB / 0.7753 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/2.578, allocations: 279.6 kB / 0.7756 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/2.58, allocations: 1.316 MB / 0.7768 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/2.58, allocations: 0.4951 MB / 0.7773 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005153/2.581, allocations: 288.6 kB / 0.7776 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008231/2.589, allocations: 4.916 MB / 0.7824 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/2.589, allocations: 16.81 kB / 0.7824 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003201/2.589, allocations: 116 kB / 0.7825 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/2.59, allocations: 68 kB / 0.7826 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/2.608, allocations: 12.16 MB / 0.7945 GB, free: 0.5859 MB / 0.6075 GB 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.04156/2.649, allocations: 29.2 MB / 0.823 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/2.665, allocations: 4.49 MB / 0.8274 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004814/2.669, allocations: 2.259 MB / 0.8296 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7046/3.374, allocations: 284.5 MB / 1.107 GB, free: 340 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/3.374, allocations: 73.84 kB / 1.107 GB, free: 339.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=339): time 4.549e-06/3.374, allocations: 1.594 kB / 1.107 GB, free: 339.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=339): time 0.01805/3.392, allocations: 9.21 MB / 1.116 GB, free: 332.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/3.392, allocations: 86.08 kB / 1.117 GB, free: 332.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/3.394, allocations: 1.08 MB / 1.118 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002675/3.394, allocations: 84.08 kB / 1.118 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/3.394, allocations: 0.7604 MB / 1.118 GB, free: 330.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008429/3.395, allocations: 1.223 MB / 1.12 GB, free: 329.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/3.396, allocations: 0.746 MB / 1.12 GB, free: 329.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/3.396, allocations: 301.1 kB / 1.121 GB, free: 329.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003416/3.4, allocations: 2.127 MB / 1.123 GB, free: 327.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/3.403, allocations: 2.895 MB / 1.126 GB, free: 325.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/3.41, allocations: 5.317 MB / 1.131 GB, free: 321 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/3.41, allocations: 8 kB / 1.131 GB, free: 321 MB / 0.8106 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01049/3.421, allocations: 6.781 MB / 1.137 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/3.421, allocations: 12 kB / 1.137 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/3.421, allocations: 24 kB / 1.137 GB, free: 314.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02403/3.445, allocations: 6.611 MB / 1.144 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005606/3.451, allocations: 0.8714 MB / 1.145 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/3.458, allocations: 5.111 MB / 1.15 GB, free: 301.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/3.462, allocations: 420 kB / 1.15 GB, free: 301.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/3.462, allocations: 195.9 kB / 1.15 GB, free: 301.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(21,148)} Notification: Performance of prepare postOptimizeDAE: time 0.001196/3.463, allocations: 0.6884 MB / 1.151 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/3.464, allocations: 209.8 kB / 1.151 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/3.476, allocations: 6.391 MB / 1.157 GB, free: 293.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/3.476, allocations: 35.94 kB / 1.157 GB, free: 293.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/3.476, allocations: 5.312 kB / 1.157 GB, free: 293.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.389e-05/3.476, allocations: 19.94 kB / 1.157 GB, free: 293.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.252/3.728, allocations: 164.4 MB / 1.318 GB, free: 111.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/3.728, allocations: 0 / 1.318 GB, free: 111.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004625/3.732, allocations: 0.8263 MB / 1.319 GB, free: 111.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003496/3.736, allocations: 1.044 MB / 1.32 GB, free: 110 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005131/3.736, allocations: 155.9 kB / 1.32 GB, free: 109.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/3.752, allocations: 27.94 MB / 1.347 GB, free: 79.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/3.752, allocations: 7.969 kB / 1.347 GB, free: 79.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/3.766, allocations: 7.935 MB / 1.355 GB, free: 71.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/3.767, allocations: 0.7827 MB / 1.356 GB, free: 70.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/3.768, allocations: 88.78 kB / 1.356 GB, free: 70.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/3.77, allocations: 147.7 kB / 1.356 GB, free: 70.31 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008176/3.771, allocations: 343.2 kB / 1.356 GB, free: 69.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000268/3.771, allocations: 135.9 kB / 1.356 GB, free: 69.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007477/3.772, allocations: 0.7093 MB / 1.357 GB, free: 69.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/3.772, allocations: 8 kB / 1.357 GB, free: 69.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007369/3.779, allocations: 2.79 MB / 1.36 GB, free: 66.55 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (319): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01165/3.791, allocations: 3.186 MB / 1.363 GB, free: 63.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0135/3.805, allocations: 5.421 MB / 1.368 GB, free: 58.61 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/3.805, allocations: 0 / 1.368 GB, free: 58.61 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006873/3.811, allocations: 4.937 MB / 1.373 GB, free: 53.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/3.814, allocations: 448.9 kB / 1.374 GB, free: 53.06 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/3.825, allocations: 8.741 MB / 1.382 GB, free: 44.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/3.826, allocations: 1.713 MB / 1.384 GB, free: 42.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004185/3.83, allocations: 1.328 MB / 1.385 GB, free: 41.55 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/3.832, allocations: 295.3 kB / 1.385 GB, free: 41.26 MB / 0.8106 GB Notification: Performance of SimCode: time 1.353e-06/3.832, allocations: 0 / 1.385 GB, free: 41.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.316/4.148, allocations: 109.8 MB / 1.493 GB, free: 405.9 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe 2>&1)