Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.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.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7615/0.7615, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.457e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 31.98 MB / 236.8 MB, free: 5.434 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.TestSteamExtractionSplitter): time 1.479/1.611, allocations: 294.7 MB / 0.519 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04213/1.654, allocations: 38.98 MB / 0.5571 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/1.654, allocations: 8 kB / 0.5571 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/1.654, allocations: 139.2 kB / 0.5572 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/1.655, allocations: 174.6 kB / 0.5574 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01946/1.674, allocations: 7.654 MB / 0.5649 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007865/1.675, allocations: 0.6412 MB / 0.5655 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/1.675, allocations: 237 kB / 0.5657 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/1.676, allocations: 222.8 kB / 0.566 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/1.676, allocations: 210.8 kB / 0.5662 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/1.676, allocations: 20 kB / 0.5662 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03039/1.707, allocations: 18.69 MB / 0.5844 GB, free: 9.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/1.707, allocations: 71.58 kB / 0.5845 GB, free: 9.477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/1.707, allocations: 288.2 kB / 0.5848 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/1.725, allocations: 8.982 MB / 0.5935 GB, free: 188 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.725, allocations: 0 / 0.5935 GB, free: 188 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.285e-06/1.725, allocations: 0 / 0.5935 GB, free: 188 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.775e-05/1.725, allocations: 0 / 0.5935 GB, free: 188 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004186/1.729, allocations: 1.653 MB / 0.5951 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.729, allocations: 8.031 kB / 0.5952 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/1.729, allocations: 75.09 kB / 0.5952 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/1.73, allocations: 302 kB / 0.5955 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/1.73, allocations: 33 kB / 0.5955 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/1.73, allocations: 44 kB / 0.5956 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/1.731, allocations: 0.6321 MB / 0.5962 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.731, allocations: 3.938 kB / 0.5962 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/1.731, allocations: 20 kB / 0.5962 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/1.731, allocations: 27.97 kB / 0.5963 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/1.731, allocations: 399.8 kB / 0.5966 GB, free: 12.87 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.0196/1.751, allocations: 11.86 MB / 0.6082 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/1.751, allocations: 327.6 kB / 0.6085 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/1.752, allocations: 214.1 kB / 0.6087 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1552/1.907, allocations: 81.17 MB / 0.688 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.907, allocations: 34.56 kB / 0.688 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.295e-06/1.907, allocations: 7.938 kB / 0.6881 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003419/1.91, allocations: 1.396 MB / 0.6894 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.911, allocations: 55.41 kB / 0.6895 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/1.911, allocations: 328.3 kB / 0.6898 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.911, allocations: 29.7 kB / 0.6898 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/1.911, allocations: 220.9 kB / 0.69 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/1.911, allocations: 256 kB / 0.6903 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/1.911, allocations: 69.67 kB / 0.6903 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.912, allocations: 354.8 kB / 0.6907 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/1.912, allocations: 156.9 kB / 0.6908 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/1.912, allocations: 273 kB / 0.6911 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/1.913, allocations: 493.2 kB / 0.6915 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.913, allocations: 4 kB / 0.6916 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001254/1.914, allocations: 0.7617 MB / 0.6923 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.914, allocations: 13.41 kB / 0.6923 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.914, allocations: 7.984 kB / 0.6923 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1532/2.067, allocations: 0.7896 MB / 0.6931 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/2.067, allocations: 15.86 kB / 0.6931 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/2.069, allocations: 2.144 MB / 0.6952 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/2.069, allocations: 66.12 kB / 0.6953 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/2.069, allocations: 14.78 kB / 0.6953 GB, free: 225.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamExtractionSplitter.Cex.b,steamExtractionSplitter.Cs.b,steamExtractionSplitter.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/2.069, allocations: 169.7 kB / 0.6954 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/2.069, allocations: 46.02 kB / 0.6955 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/2.071, allocations: 1.403 MB / 0.6969 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001089/2.072, allocations: 0.7961 MB / 0.6976 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.072, allocations: 4.734 kB / 0.6976 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/2.072, allocations: 2.391 kB / 0.6976 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/2.074, allocations: 1.853 MB / 0.6994 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/2.074, allocations: 1.969 kB / 0.6994 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/2.074, allocations: 46.45 kB / 0.6995 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/2.076, allocations: 0.8168 MB / 0.7003 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/2.076, allocations: 10.95 kB / 0.7003 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/2.077, allocations: 2.189 MB / 0.7024 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.077, allocations: 2.172 kB / 0.7024 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/2.078, allocations: 0.9664 MB / 0.7034 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/2.078, allocations: 187.7 kB / 0.7036 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/2.078, allocations: 8.406 kB / 0.7036 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/2.078, allocations: 11.97 kB / 0.7036 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/2.078, allocations: 26.47 kB / 0.7036 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/2.078, allocations: 12.03 kB / 0.7036 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002033/2.078, allocations: 272.2 kB / 0.7039 GB, free: 223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/2.078, allocations: 3.375 kB / 0.7039 GB, free: 223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002537/2.081, allocations: 1.276 MB / 0.7051 GB, free: 222.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004653/2.086, allocations: 1.818 MB / 0.7069 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001014/2.087, allocations: 0.718 MB / 0.7076 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/2.087, allocations: 0.5938 kB / 0.7076 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/2.087, allocations: 401.8 kB / 0.708 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/2.088, allocations: 230.6 kB / 0.7082 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/2.09, allocations: 1.383 MB / 0.7096 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/2.09, allocations: 0.9095 MB / 0.7104 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001648/2.09, allocations: 44.67 kB / 0.7105 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/2.09, allocations: 31.97 kB / 0.7105 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/2.09, allocations: 0 / 0.7105 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04822/2.138, allocations: 47.79 MB / 0.7572 GB, free: 189.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe 2>&1) Environment - environmentSimulation: