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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamExtractionSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamExtractionSplitter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7953/0.7953, allocations: 150.8 MB / 166.1 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.553e-05/1.555e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 31.98 MB / 236.8 MB, free: 5.414 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.423/1.557, allocations: 296.6 MB / 0.5209 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4135/1.97, allocations: 190.4 MB / 0.7068 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005549/1.971, allocations: 13.16 kB / 0.7068 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005067/1.971, allocations: 152.7 kB / 0.707 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008019/1.972, allocations: 269.2 kB / 0.7073 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02205/1.994, allocations: 9.65 MB / 0.7167 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009182/1.995, allocations: 1.001 MB / 0.7177 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/1.996, allocations: 495.9 kB / 0.7181 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/1.996, allocations: 351.5 kB / 0.7185 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/1.996, allocations: 393.1 kB / 0.7188 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/1.996, allocations: 41.03 kB / 0.7189 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02827/2.025, allocations: 21.44 MB / 0.7398 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/2.025, allocations: 149.9 kB / 0.74 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005618/2.025, allocations: 468.3 kB / 0.7404 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01687/2.042, allocations: 11.03 MB / 0.7512 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/2.042, allocations: 0 / 0.7512 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/2.042, allocations: 3.5 kB / 0.7512 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.533e-05/2.042, allocations: 0 / 0.7512 GB, free: 14.39 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.004364/2.047, allocations: 2.221 MB / 0.7533 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/2.047, allocations: 9 kB / 0.7534 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/2.047, allocations: 157.7 kB / 0.7535 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/2.047, allocations: 113 kB / 0.7536 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/2.048, allocations: 478.8 kB / 0.7541 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/2.048, allocations: 72.25 kB / 0.7541 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/2.048, allocations: 98.38 kB / 0.7542 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/2.049, allocations: 1.036 MB / 0.7552 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/2.049, allocations: 5.469 kB / 0.7552 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/2.049, allocations: 38.88 kB / 0.7553 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/2.049, allocations: 33.69 kB / 0.7553 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/2.05, allocations: 0.6853 MB / 0.756 GB, free: 12.01 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.004669/2.055, allocations: 6.755 MB / 0.7626 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/2.055, allocations: 304.1 kB / 0.7629 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/2.056, allocations: 164.5 kB / 0.763 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5825/2.638, allocations: 233.4 MB / 0.991 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/2.638, allocations: 41.88 kB / 0.991 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/2.638, allocations: 0 / 0.991 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=48): time 0.003289/2.642, allocations: 1.339 MB / 0.9923 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/2.642, allocations: 54.16 kB / 0.9924 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/2.642, allocations: 0.5232 MB / 0.9929 GB, free: 451.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/2.642, allocations: 29.52 kB / 0.9929 GB, free: 451.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/2.642, allocations: 477.4 kB / 0.9933 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/2.642, allocations: 164.6 kB / 0.9935 GB, free: 451.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/2.642, allocations: 81.98 kB / 0.9936 GB, free: 451.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/2.643, allocations: 364.8 kB / 0.9939 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/2.643, allocations: 170.5 kB / 0.9941 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/2.643, allocations: 477.3 kB / 0.9945 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/2.644, allocations: 0.6812 MB / 0.9952 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/2.644, allocations: 3.031 kB / 0.9952 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001572/2.645, allocations: 0.9554 MB / 0.9961 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/2.645, allocations: 8.312 kB / 0.9962 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/2.645, allocations: 15.92 kB / 0.9962 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/2.647, allocations: 0.606 MB / 0.9968 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/2.647, allocations: 87.98 kB / 0.9968 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/2.648, allocations: 2.008 MB / 0.9988 GB, free: 448.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/2.648, allocations: 131.1 kB / 0.9989 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/2.648, allocations: 37.48 kB / 0.999 GB, free: 448.2 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.0002285/2.649, allocations: 231.8 kB / 0.9992 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/2.649, allocations: 58.59 kB / 0.9992 GB, free: 448.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/2.65, allocations: 0.7092 MB / 0.9999 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/2.65, allocations: 8.969 kB / 0.9999 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/2.65, allocations: 0.8438 kB / 0.9999 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.65, allocations: 2.125 kB / 1 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/2.65, allocations: 0.6243 MB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.65, allocations: 0.75 kB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/2.65, allocations: 15.84 kB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/2.651, allocations: 0.5934 MB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/2.651, allocations: 11.89 kB / 1.001 GB, free: 447.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009357/2.652, allocations: 1.984 MB / 1.003 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/2.652, allocations: 0 / 1.003 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/2.653, allocations: 0.6388 MB / 1.004 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/2.654, allocations: 170 kB / 1.004 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/2.654, allocations: 5.188 kB / 1.004 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/2.654, allocations: 6.312 kB / 1.004 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/2.654, allocations: 16.39 kB / 1.004 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/2.654, allocations: 7.719 kB / 1.004 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003243/2.654, allocations: 362.6 kB / 1.004 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/2.654, allocations: 4 kB / 1.004 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003092/2.657, allocations: 1.635 MB / 1.006 GB, free: 445.6 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.006657/2.664, allocations: 3.423 MB / 1.009 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000811/2.665, allocations: 0.5342 MB / 1.01 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/2.665, allocations: 0 / 1.01 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/2.665, allocations: 261.3 kB / 1.01 GB, free: 444.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/2.666, allocations: 170.4 kB / 1.01 GB, free: 444.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/2.673, allocations: 6.559 MB / 1.017 GB, free: 441.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/2.673, allocations: 0.9369 MB / 1.017 GB, free: 440.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002938/2.674, allocations: 88.39 kB / 1.018 GB, free: 440.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/2.674, allocations: 275.8 kB / 1.018 GB, free: 440.6 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/2.674, allocations: 2.078 kB / 1.018 GB, free: 440.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.493/7.167, allocations: 60.22 MB / 1.077 GB, free: 387.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/7.167, allocations: 300.4 kB / 1.077 GB, free: 386.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.209/11.38, allocations: 0 / 1.077 GB, free: 386.9 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamExtractionSplitter_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamExtractionSplitter.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe 2>&1)