Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9235/0.9235, allocations: 150.8 MB / 166.1 MB, free: 15.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.014e-05, allocations: 4 kB / 204.8 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2201, allocations: 31.98 MB / 236.8 MB, free: 5.418 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.TestSteamExtractionSplitter): time 1.846/2.066, allocations: 295.6 MB / 0.5199 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6522/2.718, allocations: 190.4 MB / 0.7058 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000949/2.719, allocations: 10.41 kB / 0.7058 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006572/2.72, allocations: 158.4 kB / 0.706 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008716/2.721, allocations: 262.2 kB / 0.7062 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03567/2.757, allocations: 9.654 MB / 0.7156 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001606/2.758, allocations: 1.005 MB / 0.7166 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005888/2.759, allocations: 490.3 kB / 0.7171 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/2.759, allocations: 350.8 kB / 0.7174 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/2.76, allocations: 387.8 kB / 0.7178 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/2.76, allocations: 45.25 kB / 0.7178 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04295/2.803, allocations: 21.43 MB / 0.7388 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/2.803, allocations: 158.3 kB / 0.7389 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008959/2.804, allocations: 464.3 kB / 0.7394 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03327/2.837, allocations: 11.04 MB / 0.7501 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/2.837, allocations: 0 / 0.7501 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/2.837, allocations: 0 / 0.7501 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.179e-05/2.837, allocations: 1.5 kB / 0.7501 GB, free: 14.38 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.008372/2.846, allocations: 2.221 MB / 0.7523 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/2.846, allocations: 8.812 kB / 0.7523 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/2.846, allocations: 112.1 kB / 0.7524 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/2.847, allocations: 490.7 kB / 0.7529 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/2.847, allocations: 76.09 kB / 0.753 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/2.847, allocations: 90.97 kB / 0.7531 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/2.849, allocations: 1.035 MB / 0.7541 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/2.849, allocations: 5.781 kB / 0.7541 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/2.849, allocations: 41.62 kB / 0.7541 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/2.849, allocations: 30 kB / 0.7541 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/2.851, allocations: 0.6883 MB / 0.7548 GB, free: 12.07 MB / 0.5919 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.006471/2.857, allocations: 6.751 MB / 0.7614 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/2.858, allocations: 304.4 kB / 0.7617 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/2.858, allocations: 165.2 kB / 0.7619 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6999/3.558, allocations: 233.4 MB / 0.9898 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/3.558, allocations: 42.19 kB / 0.9898 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=48): time 3.236e-06/3.558, allocations: 4 kB / 0.9898 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48): time 0.003659/3.562, allocations: 1.343 MB / 0.9911 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/3.562, allocations: 52.86 kB / 0.9912 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/3.562, allocations: 0.5232 MB / 0.9917 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/3.562, allocations: 32.14 kB / 0.9917 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/3.563, allocations: 472.4 kB / 0.9922 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/3.563, allocations: 174.4 kB / 0.9923 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/3.563, allocations: 77.59 kB / 0.9924 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000107/3.563, allocations: 364 kB / 0.9928 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/3.563, allocations: 167.2 kB / 0.9929 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/3.564, allocations: 473 kB / 0.9934 GB, free: 451 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/3.564, allocations: 0.6923 MB / 0.994 GB, free: 450.6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/3.564, allocations: 4.703 kB / 0.9941 GB, free: 450.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001681/3.566, allocations: 0.9504 MB / 0.995 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/3.566, allocations: 11.22 kB / 0.995 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/3.566, allocations: 9.656 kB / 0.995 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/3.567, allocations: 0.6066 MB / 0.9956 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/3.568, allocations: 90.7 kB / 0.9957 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/3.569, allocations: 2 MB / 0.9976 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/3.569, allocations: 144.6 kB / 0.9978 GB, free: 448.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/3.569, allocations: 33.06 kB / 0.9978 GB, free: 448.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 19 (steamExtractionSplitter.Cex.ftype,steamExtractionSplitter.Cs.ftype,sourceQ.C.ftype,steamExtractionSplitter.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamExtractionSplitter.Cex.diff_on_2,steamExtractionSplitter.Cex.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamExtractionSplitter.Cs.diff_on_2,steamExtractionSplitter.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamExtractionSplitter.Ce.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * 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 prepare postOptimizeDAE: time 0.000301/3.57, allocations: 230.5 kB / 0.998 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/3.57, allocations: 59.62 kB / 0.9981 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/3.571, allocations: 0.7065 MB / 0.9988 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/3.571, allocations: 10.2 kB / 0.9988 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/3.571, allocations: 0 / 0.9988 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/3.571, allocations: 0 / 0.9988 GB, free: 448.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/3.572, allocations: 0.6151 MB / 0.9994 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/3.572, allocations: 1.531 kB / 0.9994 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/3.572, allocations: 23.33 kB / 0.9994 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/3.573, allocations: 0.5884 MB / 1 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/3.573, allocations: 7.344 kB / 1 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/3.574, allocations: 1.983 MB / 1.002 GB, free: 446.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/3.574, allocations: 1.469 kB / 1.002 GB, free: 446.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/3.575, allocations: 0.6429 MB / 1.003 GB, free: 446.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/3.575, allocations: 169.2 kB / 1.003 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/3.575, allocations: 5.172 kB / 1.003 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/3.576, allocations: 9.609 kB / 1.003 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/3.576, allocations: 16.19 kB / 1.003 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/3.576, allocations: 6.281 kB / 1.003 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003772/3.576, allocations: 361.1 kB / 1.003 GB, free: 446.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/3.576, allocations: 3.719 kB / 1.003 GB, free: 446.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00481/3.581, allocations: 1.636 MB / 1.005 GB, free: 446.1 MB / 0.8106 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 (8): * Single equations (assignments): 5 * 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.006191/3.587, allocations: 2.402 MB / 1.007 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001106/3.588, allocations: 0.5375 MB / 1.008 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.588, allocations: 0 / 1.008 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003994/3.589, allocations: 250.9 kB / 1.008 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/3.589, allocations: 178.7 kB / 1.008 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/3.591, allocations: 1.555 MB / 1.009 GB, free: 444.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/3.592, allocations: 0.9398 MB / 1.01 GB, free: 444.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002986/3.592, allocations: 90.22 kB / 1.01 GB, free: 444.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/3.592, allocations: 37.81 kB / 1.011 GB, free: 444.1 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/3.592, allocations: 0 / 1.011 GB, free: 444.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.05774/3.65, allocations: 52.09 MB / 1.061 GB, free: 400.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe 2>&1) Environment - environmentSimulation: