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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9164/0.9164, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002333, allocations: 15.98 kB / 204.7 MB, free: 6.137 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 31.32 MB / 236 MB, free: 3.867 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2): time 1.563/1.703, allocations: 292.7 MB / 0.5163 GB, free: 9.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4955/2.198, allocations: 197.8 MB / 0.7095 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/2.199, allocations: 9.188 kB / 0.7095 GB, free: 1.199 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:65:3-66:54:writable] Warning: Connector Ce is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:67:3-68:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StodolaTurbine.mo:72:3-76:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004935/2.199, allocations: 143.6 kB / 0.7096 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004648/2.2, allocations: 161.2 kB / 0.7098 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03103/2.231, allocations: 10.71 MB / 0.7202 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001375/2.232, allocations: 0.5968 MB / 0.7208 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005927/2.233, allocations: 226.8 kB / 0.721 GB, free: 15.23 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/2.233, allocations: 239.3 kB / 0.7213 GB, free: 15.19 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/2.234, allocations: 226 kB / 0.7215 GB, free: 15.15 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.522e-05/2.234, allocations: 26.31 kB / 0.7215 GB, free: 15.15 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0474/2.281, allocations: 25.51 MB / 0.7464 GB, free: 7.547 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/2.281, allocations: 86.48 kB / 0.7465 GB, free: 7.531 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/2.282, allocations: 239.8 kB / 0.7467 GB, free: 7.52 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02741/2.309, allocations: 12.42 MB / 0.7589 GB, free: 2.406 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/2.309, allocations: 0 / 0.7589 GB, free: 2.406 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.543e-06/2.309, allocations: 0 / 0.7589 GB, free: 2.406 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.072e-05/2.309, allocations: 0 / 0.7589 GB, free: 2.406 MB / 0.573 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.006339/2.316, allocations: 2.19 MB / 0.761 GB, free: 472 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/2.316, allocations: 8.031 kB / 0.761 GB, free: 464 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/2.316, allocations: 57.97 kB / 0.7611 GB, free: 408 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/2.316, allocations: 330.1 kB / 0.7614 GB, free: 72 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/2.316, allocations: 90.45 kB / 0.7615 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/2.316, allocations: 42.5 kB / 0.7615 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/2.317, allocations: 0.5061 MB / 0.762 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/2.317, allocations: 5.094 kB / 0.762 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/2.317, allocations: 18.25 kB / 0.762 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/2.317, allocations: 18.86 kB / 0.762 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000675/2.318, allocations: 367 kB / 0.7624 GB, free: 15.3 MB / 0.5886 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.07612/2.394, allocations: 33.17 MB / 0.7948 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/2.395, allocations: 203.6 kB / 0.795 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/2.395, allocations: 154.8 kB / 0.7951 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1417/2.537, allocations: 80.44 MB / 0.8737 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/2.537, allocations: 34.56 kB / 0.8737 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.015e-06/2.537, allocations: 4 kB / 0.8737 GB, free: 0.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00321/2.54, allocations: 1.092 MB / 0.8748 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/2.54, allocations: 55.41 kB / 0.8748 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/2.54, allocations: 316.2 kB / 0.8751 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/2.54, allocations: 25.7 kB / 0.8752 GB, free: 15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/2.54, allocations: 243 kB / 0.8754 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/2.541, allocations: 159.8 kB / 0.8755 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/2.541, allocations: 85.59 kB / 0.8756 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/2.541, allocations: 348 kB / 0.876 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/2.541, allocations: 132.5 kB / 0.8761 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/2.542, allocations: 262.6 kB / 0.8763 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/2.542, allocations: 434.1 kB / 0.8767 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/2.542, allocations: 0 / 0.8767 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001773/2.544, allocations: 0.6818 MB / 0.8774 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/2.544, allocations: 5.094 kB / 0.8774 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/2.544, allocations: 4 kB / 0.8774 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008022/2.545, allocations: 374.1 kB / 0.8778 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/2.545, allocations: 43.92 kB / 0.8778 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/2.547, allocations: 1.919 MB / 0.8797 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/2.547, allocations: 59.55 kB / 0.8797 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/2.547, allocations: 19.98 kB / 0.8798 GB, free: 10.08 MB / 0.7136 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.0001782/2.547, allocations: 163.4 kB / 0.8799 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/2.547, allocations: 35.53 kB / 0.88 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/2.549, allocations: 0.8561 MB / 0.8808 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001174/2.55, allocations: 0.6636 MB / 0.8814 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/2.55, allocations: 1.203 kB / 0.8814 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/2.55, allocations: 0 / 0.8814 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/2.553, allocations: 1.578 MB / 0.883 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.553, allocations: 0 / 0.883 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/2.553, allocations: 51.91 kB / 0.883 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007039/2.554, allocations: 405.7 kB / 0.8834 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/2.554, allocations: 15.98 kB / 0.8834 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/2.555, allocations: 1.927 MB / 0.8853 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/2.555, allocations: 0 / 0.8853 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/2.558, allocations: 1.774 MB / 0.887 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/2.558, allocations: 136.3 kB / 0.8872 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/2.558, allocations: 4 kB / 0.8872 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/2.558, allocations: 19.98 kB / 0.8872 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/2.558, allocations: 25.06 kB / 0.8872 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/2.558, allocations: 15.98 kB / 0.8872 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002394/2.559, allocations: 223.1 kB / 0.8875 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/2.559, allocations: 0 / 0.8875 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005635/2.564, allocations: 2.108 MB / 0.8895 GB, free: 15.83 MB / 0.7292 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.0104/2.575, allocations: 3.048 MB / 0.8925 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001398/2.576, allocations: 0.5816 MB / 0.8931 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.576, allocations: 4.062 kB / 0.8931 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/2.577, allocations: 286.5 kB / 0.8933 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/2.578, allocations: 235.6 kB / 0.8936 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/2.581, allocations: 1.701 MB / 0.8952 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/2.581, allocations: 0.8869 MB / 0.8961 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002861/2.582, allocations: 59.19 kB / 0.8961 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/2.582, allocations: 39.44 kB / 0.8962 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/2.582, allocations: 0 / 0.8962 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of Templates: time 0.2671/2.849, allocations: 71.87 MB / 0.9664 GB, free: 416.5 MB / 0.7761 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.makefile (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStodolaTurbine2.pipe 2>&1)