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.9104/0.9104, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.626e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 31.97 MB / 236.8 MB, free: 5.422 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.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe): time 1.745/1.932, allocations: 294.7 MB / 0.519 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6094/2.541, allocations: 194.4 MB / 0.7088 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005609/2.542, allocations: 14.03 kB / 0.7088 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003127/2.542, allocations: 93.28 kB / 0.7089 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000823/2.543, allocations: 407.3 kB / 0.7093 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03564/2.578, allocations: 10.88 MB / 0.7199 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004917/2.583, allocations: 5.456 MB / 0.7253 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/2.586, allocations: 1.679 MB / 0.7269 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/2.588, allocations: 1.353 MB / 0.7282 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/2.591, allocations: 2.001 MB / 0.7302 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004302/2.591, allocations: 190.6 kB / 0.7304 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04665/2.638, allocations: 23.25 MB / 0.7531 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002633/2.64, allocations: 1.297 MB / 0.7543 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002708/2.643, allocations: 1.515 MB / 0.7558 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04284/2.686, allocations: 14.96 MB / 0.7704 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/2.686, allocations: 1.938 kB / 0.7704 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.427e-06/2.686, allocations: 0 / 0.7704 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001267/2.686, allocations: 1.859 kB / 0.7704 GB, free: 8.988 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.01744/2.704, allocations: 4.27 MB / 0.7746 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/2.704, allocations: 12.03 kB / 0.7746 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/2.705, allocations: 277 kB / 0.7749 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/2.708, allocations: 1.32 MB / 0.7762 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/2.709, allocations: 0.4969 MB / 0.7766 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00067/2.709, allocations: 281.8 kB / 0.7769 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009262/2.719, allocations: 4.936 MB / 0.7817 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-05/2.719, allocations: 16.72 kB / 0.7817 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/2.719, allocations: 111.4 kB / 0.7819 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/2.719, allocations: 75.94 kB / 0.7819 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/2.739, allocations: 12.16 MB / 0.7938 GB, free: 4.859 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.04989/2.789, allocations: 29.22 MB / 0.8223 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/2.804, allocations: 4.497 MB / 0.8267 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005223/2.809, allocations: 2.261 MB / 0.8289 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7944/3.604, allocations: 287.1 MB / 1.109 GB, free: 313.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.514e-05/3.604, allocations: 64.73 kB / 1.109 GB, free: 313.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=339): time 6.312e-06/3.604, allocations: 0 / 1.109 GB, free: 313.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=339): time 0.02285/3.627, allocations: 9.235 MB / 1.118 GB, free: 306.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/3.627, allocations: 98.02 kB / 1.118 GB, free: 306.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/3.628, allocations: 1.078 MB / 1.12 GB, free: 305.4 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006584/3.629, allocations: 83.89 kB / 1.12 GB, free: 305.4 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/3.63, allocations: 0.7542 MB / 1.12 GB, free: 304.8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/3.631, allocations: 1.218 MB / 1.122 GB, free: 303.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007813/3.632, allocations: 325.8 kB / 1.122 GB, free: 303.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/3.632, allocations: 301.1 kB / 1.122 GB, free: 303.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/3.636, allocations: 2.128 MB / 1.124 GB, free: 301.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004286/3.64, allocations: 2.897 MB / 1.127 GB, free: 299.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00823/3.648, allocations: 5.317 MB / 1.132 GB, free: 294 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/3.648, allocations: 12 kB / 1.132 GB, free: 294 MB / 0.795 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01238/3.661, allocations: 6.768 MB / 1.139 GB, free: 287.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/3.661, allocations: 12.97 kB / 1.139 GB, free: 287.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/3.661, allocations: 24 kB / 1.139 GB, free: 287.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02558/3.686, allocations: 6.62 MB / 1.145 GB, free: 280.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005569/3.692, allocations: 0.8698 MB / 1.146 GB, free: 279.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009483/3.701, allocations: 5.101 MB / 1.151 GB, free: 274.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/3.705, allocations: 412 kB / 1.152 GB, free: 274.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008505/3.706, allocations: 199.9 kB / 1.152 GB, free: 274 MB / 0.795 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.001982/3.708, allocations: 0.6836 MB / 1.152 GB, free: 273.3 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007752/3.709, allocations: 213.6 kB / 1.153 GB, free: 273.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/3.723, allocations: 6.398 MB / 1.159 GB, free: 266.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/3.723, allocations: 32 kB / 1.159 GB, free: 266.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.525e-05/3.723, allocations: 4 kB / 1.159 GB, free: 266.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/3.723, allocations: 15.94 kB / 1.159 GB, free: 266.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2978/4.021, allocations: 165.8 MB / 1.321 GB, free: 83.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/4.021, allocations: 4 kB / 1.321 GB, free: 83.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005181/4.026, allocations: 0.8194 MB / 1.322 GB, free: 82.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003929/4.03, allocations: 1.046 MB / 1.323 GB, free: 81.36 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009493/4.031, allocations: 143.9 kB / 1.323 GB, free: 81.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/4.048, allocations: 27.96 MB / 1.35 GB, free: 50.65 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/4.048, allocations: 4.688 kB / 1.35 GB, free: 50.64 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/4.066, allocations: 7.951 MB / 1.358 GB, free: 42.55 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/4.068, allocations: 0.7827 MB / 1.359 GB, free: 41.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008455/4.069, allocations: 91.97 kB / 1.359 GB, free: 41.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/4.072, allocations: 135.7 kB / 1.359 GB, free: 41.53 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/4.073, allocations: 350 kB / 1.359 GB, free: 41.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004982/4.073, allocations: 131.9 kB / 1.359 GB, free: 41.05 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009974/4.074, allocations: 0.71 MB / 1.36 GB, free: 40.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.223e-06/4.074, allocations: 0 / 1.36 GB, free: 40.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009037/4.083, allocations: 2.799 MB / 1.363 GB, free: 37.76 MB / 0.795 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.01146/4.095, allocations: 3.15 MB / 1.366 GB, free: 34.99 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01271/4.107, allocations: 5.406 MB / 1.371 GB, free: 29.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/4.107, allocations: 0 / 1.371 GB, free: 29.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008511/4.116, allocations: 4.946 MB / 1.376 GB, free: 24.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/4.12, allocations: 439.1 kB / 1.376 GB, free: 23.96 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/4.134, allocations: 9.312 MB / 1.385 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/4.135, allocations: 1.718 MB / 1.387 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005385/4.141, allocations: 1.331 MB / 1.388 GB, free: 11.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/4.143, allocations: 299.2 kB / 1.389 GB, free: 11.61 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/4.143, allocations: 4 kB / 1.389 GB, free: 11.61 MB / 0.795 GB Notification: Performance of Templates: time 0.3471/4.49, allocations: 108 MB / 1.494 GB, free: 365.7 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: