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.7781/0.7781, allocations: 152.6 MB / 169.6 MB, free: 15.13 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.0004632/0.0004632, allocations: 18.09 kB / 245.6 MB, free: 15.57 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05047/0.05093, allocations: 33.06 MB / 278.7 MB, free: 0.6328 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.533/1.584, allocations: 301.3 MB / 0.5664 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03517/1.619, allocations: 29.07 MB / 0.5948 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/1.619, allocations: 0 / 0.5948 GB, free: 5.281 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.0005357/1.619, allocations: 239.6 kB / 0.595 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/1.62, allocations: 151.1 kB / 0.5952 GB, free: 4.898 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.0214/1.641, allocations: 9.687 MB / 0.6046 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006572/1.642, allocations: 430.1 kB / 0.6051 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/1.642, allocations: 96.62 kB / 0.6052 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/1.642, allocations: 179.2 kB / 0.6053 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/1.642, allocations: 147.3 kB / 0.6055 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/1.642, allocations: 20 kB / 0.6055 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0323/1.675, allocations: 20.52 MB / 0.6255 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/1.675, allocations: 51.78 kB / 0.6256 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/1.675, allocations: 155.2 kB / 0.6257 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/1.691, allocations: 8.594 MB / 0.6341 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.691, allocations: 4 kB / 0.6341 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.032e-06/1.691, allocations: 0 / 0.6341 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.691, allocations: 0 / 0.6341 GB, free: 12.99 MB / 0.5137 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.003765/1.695, allocations: 1.456 MB / 0.6355 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.695, allocations: 12.03 kB / 0.6355 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/1.695, allocations: 36.55 kB / 0.6356 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/1.695, allocations: 235.9 kB / 0.6358 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.695, allocations: 28.12 kB / 0.6358 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/1.695, allocations: 23.94 kB / 0.6359 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.696, allocations: 349.1 kB / 0.6362 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.696, allocations: 0 / 0.6362 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/1.696, allocations: 8 kB / 0.6362 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/1.696, allocations: 19.97 kB / 0.6362 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/1.696, allocations: 216.6 kB / 0.6364 GB, free: 10.5 MB / 0.5137 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.01974/1.716, allocations: 9.938 MB / 0.6461 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/1.716, allocations: 119 kB / 0.6462 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/1.716, allocations: 81.72 kB / 0.6463 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1215/1.837, allocations: 52.02 MB / 0.6971 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.837, allocations: 34.5 kB / 0.6971 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=52): time 1.643e-06/1.837, allocations: 0 / 0.6971 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52): time 0.001146/1.839, allocations: 0.5134 MB / 0.6977 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.839, allocations: 55.34 kB / 0.6977 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/1.839, allocations: 234.1 kB / 0.6979 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/1.839, allocations: 25.7 kB / 0.698 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/1.839, allocations: 149.2 kB / 0.6981 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/1.839, allocations: 174.4 kB / 0.6983 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/1.839, allocations: 57.66 kB / 0.6983 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.839, allocations: 346.7 kB / 0.6986 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/1.84, allocations: 80.53 kB / 0.6987 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/1.84, allocations: 149.3 kB / 0.6989 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/1.84, allocations: 266.6 kB / 0.6991 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.84, allocations: 0 / 0.6991 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005351/1.841, allocations: 342 kB / 0.6994 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.841, allocations: 8.094 kB / 0.6995 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.841, allocations: 3.938 kB / 0.6995 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/1.841, allocations: 116.7 kB / 0.6996 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/1.841, allocations: 8 kB / 0.6996 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005205/1.841, allocations: 0.6109 MB / 0.7002 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/1.842, allocations: 35.7 kB / 0.7002 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/1.842, allocations: 8 kB / 0.7002 GB, free: 3.039 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.0001454/1.842, allocations: 142.3 kB / 0.7003 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/1.842, allocations: 27.81 kB / 0.7004 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009611/1.843, allocations: 0.7809 MB / 0.7011 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005417/1.843, allocations: 388.4 kB / 0.7015 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.843, allocations: 0 / 0.7015 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.843, allocations: 3.984 kB / 0.7015 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/1.845, allocations: 1.471 MB / 0.7029 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.845, allocations: 4 kB / 0.703 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.845, allocations: 68.61 kB / 0.703 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/1.846, allocations: 96.75 kB / 0.7031 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/1.846, allocations: 12 kB / 0.7031 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004584/1.846, allocations: 0.6342 MB / 0.7037 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/1.846, allocations: 11.94 kB / 0.7038 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/1.847, allocations: 0.6443 MB / 0.7044 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.847, allocations: 120.7 kB / 0.7045 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/1.847, allocations: 35.83 kB / 0.7045 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.847, allocations: 8 kB / 0.7045 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.847, allocations: 47.84 kB / 0.7046 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.847, allocations: 12 kB / 0.7046 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003191/1.848, allocations: 295 kB / 0.7049 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.848, allocations: 0 / 0.7049 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003182/1.851, allocations: 1.341 MB / 0.7062 GB, free: 12.61 MB / 0.5919 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.005826/1.857, allocations: 1.648 MB / 0.7078 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006866/1.857, allocations: 468.7 kB / 0.7082 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.857, allocations: 8.062 kB / 0.7083 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002797/1.858, allocations: 171.7 kB / 0.7084 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.859, allocations: 222.8 kB / 0.7086 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/1.86, allocations: 0.9794 MB / 0.7096 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/1.861, allocations: 0.8401 MB / 0.7104 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/1.861, allocations: 35.44 kB / 0.7104 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/1.861, allocations: 3.938 kB / 0.7104 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of Templates: time 0.184/2.045, allocations: 29.86 MB / 0.7396 GB, free: 208.1 MB / 0.5919 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: 9.696776332100853] Failed to read output from testmodel.py, exit status != 0: 2.154265502933413 2.162076474 0.469310104 Calling exit ...