Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5568/0.5568, allocations: 120.4 MB / 140.2 MB, free: 12.98 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 218 MB, free: 8.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.51e-05, allocations: 4.281 kB / 218 MB, free: 8.625 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine): time 0.9702/0.9702, allocations: 254.4 MB / 472.4 MB, free: 8.383 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2222/1.192, allocations: 25.9 MB / 498.3 MB, free: 1.148 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/1.193, allocations: 2.812 kB / 498.3 MB, free: 1.148 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:38:3-39:44:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004696/1.193, allocations: 178.5 kB / 498.5 MB, free: 1.148 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/1.193, allocations: 170 kB / 498.7 MB, free: 1.148 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01788/1.211, allocations: 9.669 MB / 0.4964 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005557/1.212, allocations: 455.3 kB / 0.4969 GB, free: 15.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/1.212, allocations: 98.48 kB / 0.497 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/1.212, allocations: 259.8 kB / 0.4972 GB, free: 15.67 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/1.212, allocations: 109 kB / 0.4973 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/1.212, allocations: 19.25 kB / 0.4973 GB, free: 15.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02386/1.236, allocations: 19.27 MB / 0.5162 GB, free: 2.566 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/1.236, allocations: 52.59 kB / 0.5162 GB, free: 2.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/1.236, allocations: 102.4 kB / 0.5163 GB, free: 2.422 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0174/1.254, allocations: 11.31 MB / 0.5273 GB, free: 7.477 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.254, allocations: 4.922 kB / 0.5274 GB, free: 7.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.254, allocations: 0.8438 kB / 0.5274 GB, free: 7.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/1.254, allocations: 1.344 kB / 0.5274 GB, free: 7.473 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.002888/1.257, allocations: 1.378 MB / 0.5287 GB, free: 6.059 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.257, allocations: 8.875 kB / 0.5287 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/1.257, allocations: 36.7 kB / 0.5287 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/1.257, allocations: 182.9 kB / 0.5289 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.257, allocations: 16.88 kB / 0.5289 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/1.257, allocations: 20.88 kB / 0.529 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/1.258, allocations: 354.8 kB / 0.5293 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.258, allocations: 8.594 kB / 0.5293 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/1.258, allocations: 4 kB / 0.5293 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/1.258, allocations: 23.97 kB / 0.5293 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/1.258, allocations: 212.8 kB / 0.5295 GB, free: 5.184 MB / 474.7 MB 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.01011/1.268, allocations: 6.031 MB / 0.5354 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/1.268, allocations: 116.5 kB / 0.5355 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/1.268, allocations: 90.61 kB / 0.5356 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05601/1.324, allocations: 32.95 MB / 0.5678 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/1.324, allocations: 33.47 kB / 0.5678 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/1.324, allocations: 0 / 0.5678 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.0007695/1.325, allocations: 452.9 kB / 0.5683 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/1.325, allocations: 51.41 kB / 0.5683 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/1.325, allocations: 174.2 kB / 0.5685 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/1.325, allocations: 25.7 kB / 0.5685 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/1.325, allocations: 158.5 kB / 0.5687 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/1.325, allocations: 166.9 kB / 0.5688 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/1.325, allocations: 57.64 kB / 0.5689 GB, free: 13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/1.325, allocations: 338.8 kB / 0.5692 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/1.326, allocations: 88.41 kB / 0.5693 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/1.326, allocations: 151.8 kB / 0.5694 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/1.326, allocations: 271.4 kB / 0.5697 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.326, allocations: 0 / 0.5697 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003306/1.326, allocations: 332.2 kB / 0.57 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.326, allocations: 7.938 kB / 0.57 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.326, allocations: 4 kB / 0.57 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/1.326, allocations: 109 kB / 0.5701 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/1.327, allocations: 10.62 kB / 0.5701 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000347/1.327, allocations: 0.6089 MB / 0.5707 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/1.327, allocations: 30.58 kB / 0.5707 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.327, allocations: 15 kB / 0.5708 GB, free: 11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001174/1.327, allocations: 146.4 kB / 0.5709 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/1.327, allocations: 15.86 kB / 0.5709 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/1.328, allocations: 0.8054 MB / 0.5717 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003195/1.328, allocations: 386.4 kB / 0.5721 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.328, allocations: 4 kB / 0.5721 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.328, allocations: 4.781 kB / 0.5721 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.329, allocations: 1.321 MB / 0.5734 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.329, allocations: 5.219 kB / 0.5734 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.329, allocations: 65.41 kB / 0.5734 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/1.329, allocations: 104.7 kB / 0.5735 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/1.329, allocations: 15.09 kB / 0.5735 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002848/1.33, allocations: 0.6337 MB / 0.5742 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.33, allocations: 8 kB / 0.5742 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/1.33, allocations: 0.6294 MB / 0.5748 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/1.33, allocations: 40.53 kB / 0.5748 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/1.33, allocations: 28.44 kB / 0.5749 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/1.33, allocations: 12 kB / 0.5749 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/1.33, allocations: 39.08 kB / 0.5749 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.331, allocations: 24.12 kB / 0.5749 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000168/1.331, allocations: 241.2 kB / 0.5752 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/1.331, allocations: 3.938 kB / 0.5752 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002924/1.334, allocations: 1.364 MB / 0.5765 GB, free: 4.938 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004455/1.338, allocations: 1.829 MB / 0.5783 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006068/1.339, allocations: 465 kB / 0.5787 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.339, allocations: 4.375 kB / 0.5787 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/1.339, allocations: 184.8 kB / 0.5789 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/1.34, allocations: 192 kB / 0.5791 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.341, allocations: 0.9648 MB / 0.58 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/1.341, allocations: 235.8 kB / 0.5803 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/1.341, allocations: 32.5 kB / 0.5803 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/1.341, allocations: 0 / 0.5803 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of Templates: time 0.0311/1.372, allocations: 29.9 MB / 0.6095 GB, free: 3.375 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0323390159755945] Failed to read output from testmodel.py, exit status != 0: 1.5968405334278941 1.52481035 0.269279047 Calling exit ...