Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3",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.802/0.802, allocations: 150.8 MB / 166.1 MB, free: 15.18 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.801e-05, allocations: 4 kB / 204.9 MB, free: 9.586 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 31.99 MB / 236.8 MB, free: 5.328 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.TestStodolaTurbine3): time 1.451/1.583, allocations: 296.4 MB / 0.5207 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04996/1.633, allocations: 48.18 MB / 0.5678 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/1.633, allocations: 12 kB / 0.5678 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/1.634, allocations: 186.9 kB / 0.568 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004408/1.634, allocations: 258.1 kB / 0.5682 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0235/1.658, allocations: 9.829 MB / 0.5778 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001021/1.659, allocations: 1.012 MB / 0.5788 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/1.659, allocations: 260 kB / 0.5791 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/1.659, allocations: 354.1 kB / 0.5794 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/1.66, allocations: 302.4 kB / 0.5797 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/1.66, allocations: 24 kB / 0.5797 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03411/1.694, allocations: 23.91 MB / 0.6031 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/1.694, allocations: 99.42 kB / 0.6032 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/1.695, allocations: 383.7 kB / 0.6035 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/1.714, allocations: 11.46 MB / 0.6147 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.714, allocations: 0 / 0.6147 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/1.714, allocations: 0 / 0.6147 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.403e-06/1.714, allocations: 0 / 0.6147 GB, free: 11.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004915/1.719, allocations: 2.183 MB / 0.6168 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.719, allocations: 12.03 kB / 0.6169 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/1.719, allocations: 123.5 kB / 0.617 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/1.719, allocations: 82.88 kB / 0.6171 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/1.72, allocations: 344.7 kB / 0.6174 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/1.72, allocations: 171.7 kB / 0.6175 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/1.72, allocations: 52 kB / 0.6176 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.721, allocations: 0.8577 MB / 0.6184 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/1.721, allocations: 3.938 kB / 0.6184 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/1.721, allocations: 20 kB / 0.6185 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/1.721, allocations: 43.95 kB / 0.6185 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/1.722, allocations: 0.6407 MB / 0.6191 GB, free: 6.406 MB / 0.4981 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.03728/1.759, allocations: 20.38 MB / 0.639 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/1.76, allocations: 0.5098 MB / 0.6395 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/1.761, allocations: 387.8 kB / 0.6399 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3369/2.098, allocations: 110 MB / 0.7473 GB, free: 185 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/2.098, allocations: 36.75 kB / 0.7473 GB, free: 185 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=132): time 2.274e-06/2.098, allocations: 0 / 0.7473 GB, free: 185 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.003503/2.101, allocations: 1.987 MB / 0.7493 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/2.102, allocations: 80.86 kB / 0.7494 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/2.102, allocations: 402.2 kB / 0.7497 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/2.102, allocations: 32.86 kB / 0.7498 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/2.102, allocations: 245.6 kB / 0.75 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/2.102, allocations: 427.4 kB / 0.7504 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/2.102, allocations: 88.06 kB / 0.7505 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/2.102, allocations: 381.3 kB / 0.7509 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/2.103, allocations: 292.9 kB / 0.7511 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/2.103, allocations: 452.7 kB / 0.7516 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/2.104, allocations: 0.8217 MB / 0.7524 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.104, allocations: 0 / 0.7524 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001741/2.106, allocations: 1.145 MB / 0.7535 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/2.106, allocations: 7.875 kB / 0.7535 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/2.106, allocations: 5.953 kB / 0.7535 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009347/2.107, allocations: 0.5226 MB / 0.754 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/2.107, allocations: 51.41 kB / 0.7541 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/2.108, allocations: 2.56 MB / 0.7566 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/2.109, allocations: 125.6 kB / 0.7567 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/2.109, allocations: 24.17 kB / 0.7567 GB, free: 180.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,stodolaTurbine1.Cs.b,stodolaTurbine1.Ce.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000176/2.109, allocations: 179.6 kB / 0.7569 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/2.109, allocations: 60.72 kB / 0.7569 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/2.112, allocations: 2.161 MB / 0.7591 GB, free: 179.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001542/2.113, allocations: 1.13 MB / 0.7602 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/2.113, allocations: 4.594 kB / 0.7602 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/2.113, allocations: 3.984 kB / 0.7602 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/2.117, allocations: 3.468 MB / 0.7635 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/2.117, allocations: 13.06 kB / 0.7636 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/2.118, allocations: 163.5 kB / 0.7637 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/2.118, allocations: 0.5392 MB / 0.7642 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/2.118, allocations: 27.62 kB / 0.7643 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/2.12, allocations: 2.61 MB / 0.7668 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/2.12, allocations: 23.94 kB / 0.7668 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/2.122, allocations: 1.731 MB / 0.7685 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/2.122, allocations: 266.6 kB / 0.7688 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/2.122, allocations: 27.81 kB / 0.7688 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/2.122, allocations: 59.78 kB / 0.7689 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/2.123, allocations: 95.41 kB / 0.769 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/2.123, allocations: 39.88 kB / 0.769 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004408/2.123, allocations: 0.5289 MB / 0.7695 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/2.123, allocations: 0 / 0.7695 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003754/2.127, allocations: 1.918 MB / 0.7714 GB, free: 168.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008282/2.135, allocations: 4.779 MB / 0.7761 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001634/2.137, allocations: 1.304 MB / 0.7773 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/2.137, allocations: 4 kB / 0.7773 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009171/2.138, allocations: 0.5853 MB / 0.7779 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/2.141, allocations: 471.3 kB / 0.7784 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/2.152, allocations: 9.536 MB / 0.7877 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/2.152, allocations: 1.054 MB / 0.7887 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003778/2.152, allocations: 92.22 kB / 0.7888 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/2.153, allocations: 391.2 kB / 0.7892 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/2.153, allocations: 0 / 0.7892 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.894/4.047, allocations: 86.04 MB / 0.8732 GB, free: 67.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/4.047, allocations: 238 kB / 0.8734 GB, free: 67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.638/9.685, allocations: 0 / 0.8734 GB, free: 67 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe 2>&1)