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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamExtractionSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter,fileNamePrefix="ThermoSysPro_ThermoSysPro_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.8029/0.8029, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.554e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 31.98 MB / 236.8 MB, free: 5.359 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.542/1.677, allocations: 295.7 MB / 0.5201 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04171/1.718, allocations: 38.97 MB / 0.5581 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/1.719, allocations: 8 kB / 0.5581 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/1.719, allocations: 135.2 kB / 0.5583 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/1.719, allocations: 166.7 kB / 0.5584 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01937/1.739, allocations: 7.653 MB / 0.5659 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/1.739, allocations: 0.6569 MB / 0.5665 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/1.74, allocations: 234.7 kB / 0.5668 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/1.74, allocations: 230.8 kB / 0.567 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/1.74, allocations: 206.8 kB / 0.5672 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/1.74, allocations: 16 kB / 0.5672 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02695/1.767, allocations: 18.69 MB / 0.5854 GB, free: 9.184 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/1.767, allocations: 75.56 kB / 0.5855 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/1.768, allocations: 280.2 kB / 0.5858 GB, free: 8.828 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.785, allocations: 8.982 MB / 0.5946 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.785, allocations: 4 kB / 0.5946 GB, free: 15.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/1.785, allocations: 0 / 0.5946 GB, free: 15.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/1.785, allocations: 0 / 0.5946 GB, free: 15.82 MB / 494.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.003971/1.789, allocations: 1.653 MB / 0.5962 GB, free: 14.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.789, allocations: 12.03 kB / 0.5962 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/1.789, allocations: 102.5 kB / 0.5963 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/1.789, allocations: 67.09 kB / 0.5963 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/1.79, allocations: 306 kB / 0.5966 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/1.79, allocations: 33 kB / 0.5967 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/1.79, allocations: 47.94 kB / 0.5967 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/1.791, allocations: 0.6321 MB / 0.5973 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.791, allocations: 8 kB / 0.5973 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/1.791, allocations: 20 kB / 0.5974 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/1.791, allocations: 27.92 kB / 0.5974 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/1.791, allocations: 387.9 kB / 0.5978 GB, free: 12.4 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.02097/1.812, allocations: 11.87 MB / 0.6094 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/1.813, allocations: 319.6 kB / 0.6097 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/1.813, allocations: 226 kB / 0.6099 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1688/1.982, allocations: 81.17 MB / 0.6891 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.982, allocations: 34.56 kB / 0.6892 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/1.982, allocations: 0 / 0.6892 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.003601/1.986, allocations: 1.4 MB / 0.6905 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.986, allocations: 51.41 kB / 0.6906 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/1.986, allocations: 332.3 kB / 0.6909 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.986, allocations: 29.7 kB / 0.6909 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/1.986, allocations: 224.9 kB / 0.6911 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.986, allocations: 264 kB / 0.6914 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/1.987, allocations: 61.67 kB / 0.6915 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.987, allocations: 350.8 kB / 0.6918 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/1.987, allocations: 164.9 kB / 0.6919 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/1.987, allocations: 273.1 kB / 0.6922 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/1.988, allocations: 493.2 kB / 0.6927 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.988, allocations: 0 / 0.6927 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001344/1.989, allocations: 0.7648 MB / 0.6934 GB, free: 72 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.989, allocations: 4 kB / 0.6934 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.989, allocations: 7.984 kB / 0.6934 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1589/2.148, allocations: 0.7927 MB / 0.6942 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/2.148, allocations: 15.72 kB / 0.6942 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/2.15, allocations: 2.147 MB / 0.6963 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/2.15, allocations: 60.5 kB / 0.6964 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/2.15, allocations: 15.12 kB / 0.6964 GB, free: 225.4 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.0001945/2.15, allocations: 173.1 kB / 0.6966 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/2.15, allocations: 48.73 kB / 0.6966 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/2.152, allocations: 1.401 MB / 0.698 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00113/2.153, allocations: 0.793 MB / 0.6988 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/2.153, allocations: 5.156 kB / 0.6988 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/2.153, allocations: 2.719 kB / 0.6988 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/2.156, allocations: 1.845 MB / 0.7006 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/2.156, allocations: 5.531 kB / 0.7006 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/2.156, allocations: 48.08 kB / 0.7006 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/2.157, allocations: 0.8185 MB / 0.7014 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/2.157, allocations: 9.828 kB / 0.7014 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/2.158, allocations: 2.183 MB / 0.7036 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.158, allocations: 0.6562 kB / 0.7036 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/2.16, allocations: 0.9758 MB / 0.7045 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/2.16, allocations: 184.3 kB / 0.7047 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/2.16, allocations: 7.188 kB / 0.7047 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/2.16, allocations: 16.92 kB / 0.7047 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/2.16, allocations: 30 kB / 0.7047 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/2.16, allocations: 8.281 kB / 0.7047 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002201/2.16, allocations: 276.7 kB / 0.705 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.16, allocations: 0.5 kB / 0.705 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002685/2.163, allocations: 1.277 MB / 0.7063 GB, free: 222.4 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.006324/2.169, allocations: 3.227 MB / 0.7094 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001069/2.17, allocations: 0.7185 MB / 0.7101 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/2.17, allocations: 2.656 kB / 0.7101 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/2.171, allocations: 403.3 kB / 0.7105 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/2.172, allocations: 226.7 kB / 0.7107 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/2.178, allocations: 5.461 MB / 0.716 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/2.179, allocations: 0.9043 MB / 0.7169 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001703/2.179, allocations: 44.91 kB / 0.717 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/2.179, allocations: 221 kB / 0.7172 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/2.179, allocations: 0 / 0.7172 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0677/2.247, allocations: 55.36 MB / 0.7712 GB, free: 177 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/2.247, allocations: 247.5 kB / 0.7715 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.157/6.404, allocations: 0 / 0.7715 GB, free: 176.8 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamExtractionSplitter_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamExtractionSplitter.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamExtractionSplitter.pipe 2>&1)