Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.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.TestStodolaTurbine2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStodolaTurbine2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStodolaTurbine2",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.7431/0.7431, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.406e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 31.98 MB / 236.8 MB, free: 5.379 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.TestStodolaTurbine2): time 1.393/1.518, allocations: 295.3 MB / 0.5197 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4044/1.923, allocations: 195.4 MB / 0.7105 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/1.923, allocations: 8.188 kB / 0.7105 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/1.923, allocations: 143.4 kB / 0.7107 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/1.924, allocations: 158.1 kB / 0.7108 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02365/1.947, allocations: 10.95 MB / 0.7215 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005235/1.948, allocations: 0.5845 MB / 0.7221 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/1.948, allocations: 209.1 kB / 0.7223 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/1.948, allocations: 216.7 kB / 0.7225 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/1.948, allocations: 197.2 kB / 0.7227 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/1.948, allocations: 15.56 kB / 0.7227 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03402/1.982, allocations: 25.63 MB / 0.7477 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/1.983, allocations: 72.41 kB / 0.7478 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002714/1.983, allocations: 254 kB / 0.748 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02361/2.007, allocations: 12.28 MB / 0.76 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/2.007, allocations: 1.969 kB / 0.76 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/2.007, allocations: 0 / 0.76 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.514e-06/2.007, allocations: 4 kB / 0.76 GB, free: 12.09 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005139/2.012, allocations: 2.118 MB / 0.7621 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/2.012, allocations: 8.625 kB / 0.7621 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/2.012, allocations: 90.27 kB / 0.7622 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/2.012, allocations: 53.34 kB / 0.7622 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/2.012, allocations: 325.6 kB / 0.7625 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/2.012, allocations: 93.55 kB / 0.7626 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/2.012, allocations: 40.75 kB / 0.7627 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/2.013, allocations: 0.5218 MB / 0.7632 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/2.013, allocations: 6.891 kB / 0.7632 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/2.013, allocations: 14.28 kB / 0.7632 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/2.013, allocations: 22.92 kB / 0.7632 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/2.014, allocations: 387.2 kB / 0.7636 GB, free: 10.05 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.06797/2.082, allocations: 33.47 MB / 0.7963 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/2.082, allocations: 232 kB / 0.7965 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/2.083, allocations: 164 kB / 0.7967 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1273/2.21, allocations: 80.94 MB / 0.8757 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/2.21, allocations: 37.25 kB / 0.8757 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/2.21, allocations: 0 / 0.8757 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.003148/2.213, allocations: 1.223 MB / 0.8769 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/2.213, allocations: 56.17 kB / 0.877 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/2.213, allocations: 312.8 kB / 0.8773 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/2.213, allocations: 29.45 kB / 0.8773 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/2.214, allocations: 240 kB / 0.8775 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/2.214, allocations: 165.3 kB / 0.8777 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/2.214, allocations: 47.88 kB / 0.8777 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000112/2.214, allocations: 346.7 kB / 0.8781 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/2.214, allocations: 139.9 kB / 0.8782 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/2.215, allocations: 278.5 kB / 0.8785 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/2.215, allocations: 446.8 kB / 0.8789 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/2.215, allocations: 4 kB / 0.8789 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001637/2.217, allocations: 0.708 MB / 0.8796 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/2.217, allocations: 13.75 kB / 0.8796 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/2.217, allocations: 4 kB / 0.8796 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/2.218, allocations: 394 kB / 0.88 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/2.218, allocations: 42.88 kB / 0.88 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/2.219, allocations: 1.947 MB / 0.8819 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/2.22, allocations: 69.53 kB / 0.882 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/2.22, allocations: 19.19 kB / 0.882 GB, free: 10.79 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,stodolaTurbine.fluid,puitsP.fluid,stodolaTurbine.Cs.diff_on_1,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 23 * 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,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001649/2.22, allocations: 163 kB / 0.8822 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/2.22, allocations: 39.56 kB / 0.8822 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/2.221, allocations: 0.8851 MB / 0.8831 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00113/2.222, allocations: 0.7025 MB / 0.8838 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.222, allocations: 4 kB / 0.8838 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/2.222, allocations: 6.891 kB / 0.8838 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/2.225, allocations: 1.643 MB / 0.8854 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/2.225, allocations: 0 / 0.8854 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/2.225, allocations: 57.52 kB / 0.8854 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/2.226, allocations: 413.5 kB / 0.8858 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/2.226, allocations: 7 kB / 0.8858 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/2.227, allocations: 1.968 MB / 0.8878 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/2.227, allocations: 0 / 0.8878 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/2.229, allocations: 0.8986 MB / 0.8886 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/2.229, allocations: 132 kB / 0.8888 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/2.229, allocations: 6.797 kB / 0.8888 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/2.229, allocations: 38.78 kB / 0.8888 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/2.229, allocations: 26.44 kB / 0.8888 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/2.229, allocations: 8 kB / 0.8888 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002006/2.23, allocations: 223.2 kB / 0.889 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/2.23, allocations: 0 / 0.889 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004384/2.234, allocations: 2.03 MB / 0.891 GB, free: 2.883 MB / 0.7169 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 (35): * Single equations (assignments): 31 * 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,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01039/2.244, allocations: 4.351 MB / 0.8953 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009842/2.245, allocations: 0.5921 MB / 0.8959 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/2.245, allocations: 0 / 0.8959 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/2.246, allocations: 299.2 kB / 0.8961 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/2.247, allocations: 233.7 kB / 0.8964 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/2.257, allocations: 5.509 MB / 0.9017 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/2.257, allocations: 0.8692 MB / 0.9026 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002205/2.257, allocations: 58.72 kB / 0.9026 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/2.257, allocations: 195.4 kB / 0.9028 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of SimCode: time 8.81e-07/2.257, allocations: 0 / 0.9028 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.494/6.752, allocations: 78.42 MB / 0.9794 GB, free: 439 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03947/6.791, allocations: 287.5 kB / 0.9797 GB, free: 438.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/13.8, allocations: 0.8438 kB / 0.9797 GB, free: 438.6 MB / 0.795 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStodolaTurbine2_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStodolaTurbine2.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe 2>&1)