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.8159/0.8159, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.575e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1594, allocations: 31.97 MB / 236.8 MB, free: 5.199 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe): time 1.597/1.756, allocations: 294.7 MB / 0.519 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0366/1.793, allocations: 27.37 MB / 0.5457 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/1.794, allocations: 4 kB / 0.5457 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007859/1.794, allocations: 175.1 kB / 0.5459 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/1.796, allocations: 366.2 kB / 0.5463 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01803/1.814, allocations: 5.613 MB / 0.5517 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004738/1.819, allocations: 4.904 MB / 0.5565 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/1.821, allocations: 1.413 MB / 0.5579 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/1.823, allocations: 1.39 MB / 0.5593 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/1.826, allocations: 1.659 MB / 0.5609 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007874/1.827, allocations: 124 kB / 0.561 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02979/1.857, allocations: 16.14 MB / 0.5768 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/1.859, allocations: 0.9931 MB / 0.5777 GB, free: 312 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003625/1.862, allocations: 1.499 MB / 0.5792 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02064/1.883, allocations: 9.971 MB / 0.5889 GB, free: 4.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/1.883, allocations: 0 / 0.5889 GB, free: 4.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.725e-06/1.883, allocations: 0 / 0.5889 GB, free: 4.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001646/1.883, allocations: 0 / 0.5889 GB, free: 4.797 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.01397/1.897, allocations: 3.764 MB / 0.5926 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.897, allocations: 12.03 kB / 0.5926 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.898, allocations: 269.5 kB / 0.5929 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/1.901, allocations: 1.041 MB / 0.5939 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005658/1.901, allocations: 452.5 kB / 0.5943 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007563/1.902, allocations: 215.8 kB / 0.5945 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00668/1.909, allocations: 3.907 MB / 0.5984 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/1.909, allocations: 4 kB / 0.5984 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/1.909, allocations: 72 kB / 0.5984 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.742e-05/1.909, allocations: 111.9 kB / 0.5985 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/1.915, allocations: 3.424 MB / 0.6019 GB, free: 7.32 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.05342/1.969, allocations: 29.44 MB / 0.6306 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/1.982, allocations: 4.046 MB / 0.6346 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/1.987, allocations: 2.624 MB / 0.6371 GB, free: 496 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08469/2.071, allocations: 37.23 MB / 0.6735 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.458e-05/2.071, allocations: 56.56 kB / 0.6736 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=591): time 4.738e-06/2.072, allocations: 3.938 kB / 0.6736 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=591): time 0.02521/2.097, allocations: 10.82 MB / 0.6841 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/2.097, allocations: 81.34 kB / 0.6842 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007791/2.098, allocations: 0.6082 MB / 0.6848 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003519/2.098, allocations: 65.7 kB / 0.6849 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/2.098, allocations: 479.7 kB / 0.6853 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/2.1, allocations: 1.962 MB / 0.6872 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/2.101, allocations: 368.8 kB / 0.6876 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/2.101, allocations: 361.8 kB / 0.6879 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004064/2.105, allocations: 2.221 MB / 0.6901 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004356/2.109, allocations: 2.607 MB / 0.6926 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1951/2.304, allocations: 5.409 MB / 0.6979 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/2.304, allocations: 1.125 kB / 0.6979 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.0138/2.318, allocations: 7.202 MB / 0.705 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/2.318, allocations: 9.172 kB / 0.705 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/2.318, allocations: 12.34 kB / 0.705 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02963/2.348, allocations: 12.56 MB / 0.7172 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/2.352, allocations: 0.5576 MB / 0.7178 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/2.364, allocations: 6.89 MB / 0.7245 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/2.367, allocations: 465 kB / 0.725 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/2.368, allocations: 117.3 kB / 0.7251 GB, free: 220.6 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.001306/2.369, allocations: 0.7618 MB / 0.7258 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/2.369, allocations: 204.1 kB / 0.726 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/2.387, allocations: 14.32 MB / 0.74 GB, free: 210.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01191/2.399, allocations: 7.383 MB / 0.7472 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/2.399, allocations: 5.812 kB / 0.7472 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/2.399, allocations: 23.91 kB / 0.7472 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/2.421, allocations: 14.47 MB / 0.7614 GB, free: 188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/2.421, allocations: 15.98 kB / 0.7614 GB, free: 188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01308/2.434, allocations: 2.45 MB / 0.7638 GB, free: 185.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00404/2.438, allocations: 1.043 MB / 0.7648 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005071/2.439, allocations: 139.9 kB / 0.7649 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/2.455, allocations: 28.09 MB / 0.7924 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/2.456, allocations: 7.969 kB / 0.7924 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/2.473, allocations: 11.03 MB / 0.8031 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/2.474, allocations: 0.906 MB / 0.804 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/2.475, allocations: 108 kB / 0.8041 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/2.477, allocations: 259.2 kB / 0.8044 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/2.478, allocations: 311 kB / 0.8047 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/2.478, allocations: 135.9 kB / 0.8048 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005331/2.479, allocations: 0.5146 MB / 0.8053 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/2.479, allocations: 0 / 0.8053 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005343/2.484, allocations: 1.932 MB / 0.8072 GB, free: 138.3 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.004095/2.488, allocations: 1.362 MB / 0.8085 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01756/2.506, allocations: 9.249 MB / 0.8175 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/2.506, allocations: 0 / 0.8175 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.008449/2.514, allocations: 6.331 MB / 0.8237 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.007011/2.521, allocations: 1.467 MB / 0.8252 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/2.536, allocations: 12.87 MB / 0.8377 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/2.538, allocations: 2.547 MB / 0.8402 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003051/2.541, allocations: 0.9477 MB / 0.8411 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008683/2.542, allocations: 247.3 kB / 0.8414 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/2.542, allocations: 0 / 0.8414 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.3195/2.861, allocations: 115.9 MB / 0.9545 GB, free: 205.7 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: