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.8481/0.8481, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 15.98 kB / 204.7 MB, free: 6.172 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 31.33 MB / 236 MB, free: 3.895 MB / 186.7 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.546/1.69, allocations: 293.1 MB / 0.5167 GB, free: 8.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03217/1.722, allocations: 27.74 MB / 0.5438 GB, free: 13.38 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/1.723, allocations: 7.938 kB / 0.5438 GB, free: 13.37 MB / 442.7 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.0005559/1.723, allocations: 168.8 kB / 0.544 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/1.724, allocations: 370.2 kB / 0.5443 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01461/1.739, allocations: 5.616 MB / 0.5498 GB, free: 7.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00424/1.743, allocations: 4.931 MB / 0.5546 GB, free: 2.289 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/1.744, allocations: 1.432 MB / 0.556 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/1.746, allocations: 1.421 MB / 0.5574 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/1.748, allocations: 1.698 MB / 0.5591 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/1.748, allocations: 136 kB / 0.5592 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02544/1.774, allocations: 16.16 MB / 0.575 GB, free: 13.39 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/1.775, allocations: 1.009 MB / 0.576 GB, free: 12.38 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002134/1.777, allocations: 1.489 MB / 0.5774 GB, free: 10.88 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01774/1.795, allocations: 10.06 MB / 0.5872 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.795, allocations: 4 kB / 0.5872 GB, free: 0.793 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.795, allocations: 0 / 0.5872 GB, free: 0.793 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.716e-05/1.795, allocations: 0 / 0.5872 GB, free: 0.793 MB / 474.7 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.01332/1.809, allocations: 4.139 MB / 0.5913 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.809, allocations: 8.031 kB / 0.5913 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/1.809, allocations: 273.5 kB / 0.5916 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/1.811, allocations: 1.041 MB / 0.5926 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004226/1.812, allocations: 452.5 kB / 0.593 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/1.812, allocations: 211.8 kB / 0.5932 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006053/1.818, allocations: 3.86 MB / 0.597 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/1.818, allocations: 8 kB / 0.597 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/1.818, allocations: 72 kB / 0.5971 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.093e-05/1.819, allocations: 111.9 kB / 0.5972 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005943/1.824, allocations: 3.381 MB / 0.6005 GB, free: 3.039 MB / 490.7 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.05376/1.878, allocations: 29.28 MB / 0.6291 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.891, allocations: 3.991 MB / 0.6329 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004317/1.896, allocations: 2.577 MB / 0.6355 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08473/1.98, allocations: 36.87 MB / 0.6715 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.107e-05/1.98, allocations: 56.56 kB / 0.6715 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=591): time 6.422e-06/1.98, allocations: 4 kB / 0.6715 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=591): time 0.02407/2.005, allocations: 10.67 MB / 0.6819 GB, free: 8.965 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/2.005, allocations: 85.34 kB / 0.682 GB, free: 8.867 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/2.005, allocations: 0.6043 MB / 0.6826 GB, free: 8.254 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002367/2.006, allocations: 69.7 kB / 0.6827 GB, free: 8.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/2.006, allocations: 479.6 kB / 0.6831 GB, free: 7.703 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/2.007, allocations: 1.966 MB / 0.6851 GB, free: 5.711 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/2.008, allocations: 0.6395 MB / 0.6857 GB, free: 5.062 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001112/2.008, allocations: 353.9 kB / 0.686 GB, free: 4.711 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/2.012, allocations: 2.178 MB / 0.6881 GB, free: 2.527 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1653/2.178, allocations: 2.559 MB / 0.6906 GB, free: 216.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00962/2.187, allocations: 5.319 MB / 0.6958 GB, free: 216.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/2.187, allocations: 2.312 kB / 0.6958 GB, free: 216.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01232/2.2, allocations: 7.067 MB / 0.7027 GB, free: 216.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/2.2, allocations: 7.312 kB / 0.7028 GB, free: 216.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/2.2, allocations: 19.23 kB / 0.7028 GB, free: 216.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02826/2.228, allocations: 12.42 MB / 0.7149 GB, free: 216.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004204/2.232, allocations: 0.5599 MB / 0.7154 GB, free: 216.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/2.243, allocations: 6.767 MB / 0.7221 GB, free: 215 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/2.246, allocations: 437.5 kB / 0.7225 GB, free: 214.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/2.247, allocations: 115.7 kB / 0.7226 GB, free: 214.6 MB / 0.573 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.00117/2.248, allocations: 0.7643 MB / 0.7233 GB, free: 214 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/2.248, allocations: 204 kB / 0.7235 GB, free: 213.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/2.265, allocations: 14.23 MB / 0.7374 GB, free: 201.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01113/2.276, allocations: 7.291 MB / 0.7445 GB, free: 194.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/2.276, allocations: 4.562 kB / 0.7445 GB, free: 194.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/2.276, allocations: 24.41 kB / 0.7446 GB, free: 194.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02096/2.297, allocations: 14.36 MB / 0.7586 GB, free: 179.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/2.297, allocations: 12 kB / 0.7586 GB, free: 179.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/2.309, allocations: 2.09 MB / 0.7606 GB, free: 177.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/2.313, allocations: 1.04 MB / 0.7617 GB, free: 176.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005084/2.314, allocations: 139.9 kB / 0.7618 GB, free: 176.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/2.33, allocations: 28.06 MB / 0.7892 GB, free: 146 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.33, allocations: 6.625 kB / 0.7892 GB, free: 146 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2023/2.532, allocations: 117.4 MB / 0.9039 GB, free: 25.83 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/2.534, allocations: 0.874 MB / 0.9047 GB, free: 24.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/2.535, allocations: 119.8 kB / 0.9049 GB, free: 24.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/2.537, allocations: 235.2 kB / 0.9051 GB, free: 24.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005782/2.537, allocations: 306.5 kB / 0.9054 GB, free: 24.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/2.538, allocations: 143.9 kB / 0.9055 GB, free: 24.15 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004894/2.538, allocations: 0.5068 MB / 0.906 GB, free: 23.64 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.3e-07/2.538, allocations: 0 / 0.906 GB, free: 23.64 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007202/2.545, allocations: 3.352 MB / 0.9093 GB, free: 20.42 MB / 0.573 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.007237/2.553, allocations: 1.967 MB / 0.9112 GB, free: 18.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01759/2.57, allocations: 8.968 MB / 0.92 GB, free: 9.367 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/2.57, allocations: 0 / 0.92 GB, free: 9.367 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008114/2.578, allocations: 6.274 MB / 0.9261 GB, free: 2.855 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006376/2.585, allocations: 1.467 MB / 0.9275 GB, free: 1.457 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.205/2.79, allocations: 20.21 MB / 0.9473 GB, free: 182.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/2.793, allocations: 2.894 MB / 0.9501 GB, free: 181.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005136/2.798, allocations: 1.241 MB / 0.9513 GB, free: 181.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/2.801, allocations: 353.2 kB / 0.9516 GB, free: 181.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.313e-06/2.801, allocations: 0 / 0.9516 GB, free: 181.6 MB / 0.573 GB Notification: Performance of Templates: time 0.3961/3.197, allocations: 185.8 MB / 1.133 GB, free: 179.4 MB / 0.573 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)