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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.897/0.897, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB " [Timeout remaining time 179] 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.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 0.000729/0.000729, allocations: 20.11 kB / 239.8 MB, free: 1.926 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06639/0.06714, allocations: 31.34 MB / 271.1 MB, free: 6.207 MB / 222.1 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.Examples.SimpleExamples.TestSteamEngine): time 1.741/1.808, allocations: 295.8 MB / 0.5536 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04038/1.848, allocations: 28.96 MB / 0.5819 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/1.849, allocations: 11.94 kB / 0.5819 GB, free: 15.64 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0006011/1.849, allocations: 188.8 kB / 0.5821 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/1.85, allocations: 123 kB / 0.5822 GB, free: 15.34 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02546/1.875, allocations: 9.563 MB / 0.5916 GB, free: 5.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008051/1.876, allocations: 434.1 kB / 0.592 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/1.876, allocations: 116.6 kB / 0.5921 GB, free: 5.234 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/1.876, allocations: 175.2 kB / 0.5923 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/1.877, allocations: 139.3 kB / 0.5924 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/1.877, allocations: 20 kB / 0.5924 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03776/1.914, allocations: 20.51 MB / 0.6124 GB, free: 376 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/1.915, allocations: 55.77 kB / 0.6125 GB, free: 320 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/1.915, allocations: 151.2 kB / 0.6126 GB, free: 168 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02173/1.937, allocations: 8.598 MB / 0.621 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.937, allocations: 0 / 0.621 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.937, allocations: 0 / 0.621 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.937, allocations: 4 kB / 0.621 GB, free: 7.543 MB / 0.4981 GB 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.004858/1.942, allocations: 1.452 MB / 0.6225 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.942, allocations: 12.03 kB / 0.6225 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/1.942, allocations: 32.7 kB / 0.6225 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/1.942, allocations: 245.2 kB / 0.6227 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/1.942, allocations: 20.56 kB / 0.6227 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/1.942, allocations: 16 kB / 0.6228 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/1.943, allocations: 353.1 kB / 0.6231 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.943, allocations: 3.938 kB / 0.6231 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/1.943, allocations: 12 kB / 0.6231 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/1.943, allocations: 11.98 kB / 0.6231 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/1.943, allocations: 212.6 kB / 0.6233 GB, free: 5.074 MB / 0.4981 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.02186/1.965, allocations: 9.942 MB / 0.633 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/1.965, allocations: 154.9 kB / 0.6332 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/1.965, allocations: 117.7 kB / 0.6333 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1311/2.096, allocations: 52.01 MB / 0.6841 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/2.096, allocations: 42.5 kB / 0.6841 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/2.096, allocations: 0 / 0.6841 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52): time 0.001201/2.098, allocations: 0.5252 MB / 0.6846 GB, free: 284 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/2.098, allocations: 51.41 kB / 0.6847 GB, free: 220 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/2.098, allocations: 230.1 kB / 0.6849 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/2.098, allocations: 29.7 kB / 0.6849 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/2.098, allocations: 145.2 kB / 0.6851 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/2.098, allocations: 170.4 kB / 0.6852 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/2.098, allocations: 65.73 kB / 0.6853 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000166/2.099, allocations: 346.7 kB / 0.6856 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/2.099, allocations: 76.55 kB / 0.6857 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/2.099, allocations: 153.3 kB / 0.6859 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/2.099, allocations: 258.7 kB / 0.6861 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.099, allocations: 3.938 kB / 0.6861 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005566/2.1, allocations: 345.8 kB / 0.6864 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/2.1, allocations: 10.38 kB / 0.6864 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/2.1, allocations: 4 kB / 0.6865 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/2.1, allocations: 116.7 kB / 0.6866 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/2.1, allocations: 11.94 kB / 0.6866 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005397/2.101, allocations: 0.6031 MB / 0.6872 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/2.101, allocations: 39.64 kB / 0.6872 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/2.101, allocations: 8.062 kB / 0.6872 GB, free: 13.52 MB / 0.5762 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.0001546/2.101, allocations: 150.2 kB / 0.6874 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/2.101, allocations: 31.77 kB / 0.6874 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/2.102, allocations: 0.7926 MB / 0.6882 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005758/2.103, allocations: 384.4 kB / 0.6885 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/2.103, allocations: 4 kB / 0.6885 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/2.103, allocations: 3.984 kB / 0.6885 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/2.105, allocations: 1.48 MB / 0.69 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/2.105, allocations: 4 kB / 0.69 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/2.105, allocations: 71.84 kB / 0.69 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/2.105, allocations: 85.47 kB / 0.6901 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/2.105, allocations: 15.98 kB / 0.6901 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005024/2.106, allocations: 0.6343 MB / 0.6908 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/2.106, allocations: 11.94 kB / 0.6908 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/2.107, allocations: 0.6407 MB / 0.6914 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/2.107, allocations: 132.7 kB / 0.6915 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/2.107, allocations: 27.84 kB / 0.6916 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/2.107, allocations: 15.98 kB / 0.6916 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/2.107, allocations: 39.84 kB / 0.6916 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/2.107, allocations: 24 kB / 0.6916 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003355/2.107, allocations: 291 kB / 0.6919 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/2.107, allocations: 0 / 0.6919 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003391/2.111, allocations: 1.345 MB / 0.6932 GB, free: 7.047 MB / 0.5762 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.005606/2.116, allocations: 1.639 MB / 0.6948 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008515/2.117, allocations: 0.4959 MB / 0.6953 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/2.117, allocations: 0 / 0.6953 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/2.118, allocations: 200.1 kB / 0.6955 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/2.119, allocations: 222.5 kB / 0.6957 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/2.121, allocations: 0.9348 MB / 0.6966 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/2.121, allocations: 0.8478 MB / 0.6974 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001526/2.121, allocations: 42.97 kB / 0.6975 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/2.121, allocations: 31.44 kB / 0.6975 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/2.121, allocations: 0 / 0.6975 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.2466/2.368, allocations: 53.6 MB / 0.7499 GB, free: 201 MB / 0.5919 GB " [Timeout remaining time 657] 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: 9.672376439906657]