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.8916/0.8916, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.482e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2228, allocations: 31.98 MB / 236.8 MB, free: 5.219 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.TestSteamEngine): time 1.839/2.062, allocations: 294.1 MB / 0.5184 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6753/2.738, allocations: 195.7 MB / 0.7095 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/2.738, allocations: 7.688 kB / 0.7095 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005399/2.739, allocations: 141.3 kB / 0.7096 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/2.739, allocations: 149.9 kB / 0.7098 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03969/2.779, allocations: 11.02 MB / 0.7206 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008534/2.78, allocations: 496.4 kB / 0.721 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/2.78, allocations: 175.7 kB / 0.7212 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/2.78, allocations: 186.2 kB / 0.7214 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/2.78, allocations: 164.5 kB / 0.7215 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/2.78, allocations: 15.55 kB / 0.7215 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05591/2.836, allocations: 25.7 MB / 0.7466 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/2.837, allocations: 60.92 kB / 0.7467 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/2.837, allocations: 216.7 kB / 0.7469 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04369/2.881, allocations: 12.28 MB / 0.7589 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/2.881, allocations: 0 / 0.7589 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.025e-06/2.881, allocations: 0 / 0.7589 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.298e-06/2.881, allocations: 0 / 0.7589 GB, free: 12.12 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.008339/2.889, allocations: 2.032 MB / 0.7609 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/2.889, allocations: 12.42 kB / 0.7609 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/2.89, allocations: 46.56 kB / 0.7609 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/2.89, allocations: 307 kB / 0.7612 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/2.89, allocations: 29.69 kB / 0.7613 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/2.89, allocations: 32.06 kB / 0.7613 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/2.891, allocations: 429.5 kB / 0.7617 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/2.891, allocations: 0 / 0.7617 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/2.891, allocations: 21.28 kB / 0.7617 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/2.891, allocations: 14.86 kB / 0.7617 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/2.891, allocations: 270.5 kB / 0.762 GB, free: 10.32 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.07532/2.967, allocations: 33.16 MB / 0.7944 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/2.967, allocations: 108.2 kB / 0.7945 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/2.967, allocations: 79.52 kB / 0.7946 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1444/3.111, allocations: 80.95 MB / 0.8736 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/3.111, allocations: 34.66 kB / 0.8736 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=34): time 2.895e-06/3.111, allocations: 0 / 0.8736 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=34): time 0.001089/3.112, allocations: 434.7 kB / 0.8741 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/3.113, allocations: 55.41 kB / 0.8741 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/3.113, allocations: 299.3 kB / 0.8744 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/3.113, allocations: 25.7 kB / 0.8744 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/3.113, allocations: 233.2 kB / 0.8746 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/3.113, allocations: 115.4 kB / 0.8748 GB, free: 456 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/3.113, allocations: 36.64 kB / 0.8748 GB, free: 424 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001508/3.114, allocations: 351.7 kB / 0.8751 GB, free: 80 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/3.114, allocations: 78.47 kB / 0.8752 GB, free: 32 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/3.114, allocations: 184.1 kB / 0.8754 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/3.114, allocations: 295.2 kB / 0.8757 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/3.114, allocations: 0 / 0.8757 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006239/3.115, allocations: 378 kB / 0.876 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/3.115, allocations: 8 kB / 0.876 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/3.115, allocations: 5.25 kB / 0.876 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/3.115, allocations: 113.2 kB / 0.8761 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/3.116, allocations: 38.27 kB / 0.8762 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005188/3.116, allocations: 0.6143 MB / 0.8768 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/3.116, allocations: 44.25 kB / 0.8768 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/3.116, allocations: 13.62 kB / 0.8768 GB, free: 14.55 MB / 0.7169 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.0001912/3.116, allocations: 160.8 kB / 0.877 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/3.117, allocations: 27.62 kB / 0.877 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/3.117, allocations: 0.5607 MB / 0.8776 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005117/3.118, allocations: 412.1 kB / 0.8779 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/3.118, allocations: 0 / 0.8779 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/3.118, allocations: 3.984 kB / 0.878 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/3.119, allocations: 1.183 MB / 0.8791 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/3.119, allocations: 0 / 0.8791 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/3.12, allocations: 46.83 kB / 0.8792 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/3.12, allocations: 125.6 kB / 0.8793 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/3.12, allocations: 3 kB / 0.8793 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004457/3.12, allocations: 0.6332 MB / 0.8799 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/3.12, allocations: 0 / 0.8799 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/3.121, allocations: 0.5312 MB / 0.8804 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/3.121, allocations: 152.8 kB / 0.8806 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/3.121, allocations: 7.875 kB / 0.8806 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/3.121, allocations: 8.484 kB / 0.8806 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/3.121, allocations: 22.48 kB / 0.8806 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/3.121, allocations: 9.875 kB / 0.8806 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002402/3.122, allocations: 222.5 kB / 0.8808 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/3.122, allocations: 0 / 0.8808 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006997/3.129, allocations: 2.033 MB / 0.8828 GB, free: 9.316 MB / 0.7169 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.01199/3.141, allocations: 3.021 MB / 0.8858 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009306/3.142, allocations: 436.6 kB / 0.8862 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/3.142, allocations: 0 / 0.8862 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/3.142, allocations: 198.3 kB / 0.8864 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/3.143, allocations: 200.2 kB / 0.8865 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/3.144, allocations: 1.077 MB / 0.8876 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/3.145, allocations: 0.8479 MB / 0.8884 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000223/3.145, allocations: 50.95 kB / 0.8885 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/3.145, allocations: 45.25 kB / 0.8885 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/3.145, allocations: 0 / 0.8885 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.08935/3.235, allocations: 68.69 MB / 0.9556 GB, free: 15.55 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamEngine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: