Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.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.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8004/0.8004, allocations: 150.8 MB / 166.6 MB, free: 11.18 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 11.98 kB / 204.7 MB, free: 6.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 31.33 MB / 236 MB, free: 3.875 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.TestSteamEngine): time 1.56/1.698, allocations: 292.4 MB / 0.5161 GB, free: 9.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4815/2.18, allocations: 198.1 MB / 0.7095 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/2.18, allocations: 9.781 kB / 0.7095 GB, free: 1.25 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/SteamEngine.mo:41:3-42:53:writable] Warning: Connector C1 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/SteamEngine.mo:43:3-44:51:writable] Warning: Connector C2 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/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.0004335/2.181, allocations: 139.2 kB / 0.7096 GB, free: 1.227 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/2.181, allocations: 149.8 kB / 0.7098 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02848/2.209, allocations: 10.79 MB / 0.7203 GB, free: 15.6 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0006313/2.21, allocations: 0.4913 MB / 0.7208 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/2.21, allocations: 210.9 kB / 0.721 GB, free: 15.38 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/2.211, allocations: 201.9 kB / 0.7212 GB, free: 15.34 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/2.211, allocations: 199.5 kB / 0.7214 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/2.211, allocations: 24.66 kB / 0.7214 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04076/2.252, allocations: 25.58 MB / 0.7464 GB, free: 7.691 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/2.252, allocations: 73.23 kB / 0.7465 GB, free: 7.68 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/2.252, allocations: 208.2 kB / 0.7466 GB, free: 7.672 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0291/2.281, allocations: 12.39 MB / 0.7587 GB, free: 2.57 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/2.281, allocations: 4 kB / 0.7587 GB, free: 2.566 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.114e-06/2.281, allocations: 0 / 0.7587 GB, free: 2.566 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.544e-06/2.281, allocations: 0 / 0.7587 GB, free: 2.566 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.006269/2.288, allocations: 2.112 MB / 0.7608 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/2.288, allocations: 8.031 kB / 0.7608 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.047e-05/2.288, allocations: 47.44 kB / 0.7609 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/2.288, allocations: 313.1 kB / 0.7612 GB, free: 296 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/2.288, allocations: 26.75 kB / 0.7612 GB, free: 284 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/2.288, allocations: 38 kB / 0.7612 GB, free: 256 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/2.289, allocations: 431.7 kB / 0.7616 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/2.289, allocations: 0 / 0.7616 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/2.289, allocations: 14.06 kB / 0.7616 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/2.289, allocations: 15.56 kB / 0.7617 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/2.289, allocations: 265.5 kB / 0.7619 GB, free: 15.76 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.0762/2.365, allocations: 32.87 MB / 0.794 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/2.366, allocations: 106.9 kB / 0.7941 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/2.366, allocations: 79.73 kB / 0.7942 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1408/2.507, allocations: 80.45 MB / 0.8728 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/2.507, allocations: 34.56 kB / 0.8728 GB, free: 1.629 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/2.507, allocations: 0 / 0.8728 GB, free: 1.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.0009273/2.508, allocations: 415.3 kB / 0.8732 GB, free: 1.195 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/2.508, allocations: 59.39 kB / 0.8732 GB, free: 1.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/2.508, allocations: 296.3 kB / 0.8735 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/2.508, allocations: 25.7 kB / 0.8736 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/2.508, allocations: 235.8 kB / 0.8738 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/2.508, allocations: 112.8 kB / 0.8739 GB, free: 468 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/2.508, allocations: 65.69 kB / 0.874 GB, free: 396 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/2.509, allocations: 346.8 kB / 0.8743 GB, free: 40 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/2.509, allocations: 83.03 kB / 0.8744 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/2.509, allocations: 189.5 kB / 0.8745 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/2.509, allocations: 289.5 kB / 0.8748 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.509, allocations: 4 kB / 0.8748 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006268/2.51, allocations: 374.3 kB / 0.8752 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/2.51, allocations: 8.453 kB / 0.8752 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/2.51, allocations: 4 kB / 0.8752 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/2.51, allocations: 117.9 kB / 0.8753 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/2.51, allocations: 35.92 kB / 0.8753 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004625/2.511, allocations: 0.6131 MB / 0.8759 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/2.511, allocations: 43.44 kB / 0.876 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/2.511, allocations: 16 kB / 0.876 GB, free: 14.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,steamEngine1.fluid,puitsP.fluid,steamEngine1.C2.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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000168/2.511, allocations: 157.8 kB / 0.8761 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/2.511, allocations: 27.62 kB / 0.8762 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/2.512, allocations: 0.5598 MB / 0.8767 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004931/2.513, allocations: 409.5 kB / 0.8771 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/2.513, allocations: 0 / 0.8771 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.513, allocations: 0 / 0.8771 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/2.514, allocations: 1.182 MB / 0.8783 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/2.514, allocations: 0 / 0.8783 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/2.514, allocations: 43.98 kB / 0.8783 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/2.514, allocations: 125.8 kB / 0.8784 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/2.514, allocations: 16.06 kB / 0.8784 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004416/2.515, allocations: 0.6199 MB / 0.879 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/2.515, allocations: 4.031 kB / 0.879 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/2.516, allocations: 1.385 MB / 0.8804 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/2.516, allocations: 136.5 kB / 0.8805 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/2.516, allocations: 24.97 kB / 0.8806 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/2.517, allocations: 7.562 kB / 0.8806 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/2.517, allocations: 23.97 kB / 0.8806 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/2.517, allocations: 12 kB / 0.8806 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002084/2.517, allocations: 219.1 kB / 0.8808 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/2.517, allocations: 0 / 0.8808 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005564/2.522, allocations: 2.108 MB / 0.8829 GB, free: 6.918 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009092/2.532, allocations: 3.066 MB / 0.8859 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007545/2.532, allocations: 435.5 kB / 0.8863 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/2.532, allocations: 0 / 0.8863 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/2.533, allocations: 191 kB / 0.8865 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/2.534, allocations: 206.4 kB / 0.8867 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/2.535, allocations: 1.359 MB / 0.888 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/2.536, allocations: 0.8673 MB / 0.8888 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002342/2.536, allocations: 58.88 kB / 0.8889 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/2.536, allocations: 35.44 kB / 0.8889 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/2.536, allocations: 0 / 0.8889 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of Templates: time 0.3691/2.905, allocations: 69.77 MB / 0.9571 GB, free: 214.9 MB / 0.7761 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1)