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.857/0.857, allocations: 152.6 MB / 170.1 MB, free: 14.44 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.0005355/0.0005355, allocations: 17.62 kB / 246.8 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05734/0.05787, allocations: 33.07 MB / 279.8 MB, free: 15.8 MB / 238.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.707/1.765, allocations: 301.2 MB / 0.5674 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0406/1.805, allocations: 29.11 MB / 0.5959 GB, free: 4.695 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/1.806, allocations: 4 kB / 0.5959 GB, free: 4.691 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.000626/1.806, allocations: 236.2 kB / 0.5961 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/1.806, allocations: 155.1 kB / 0.5962 GB, free: 4.309 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.02487/1.831, allocations: 9.685 MB / 0.6057 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007047/1.832, allocations: 430.1 kB / 0.6061 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/1.832, allocations: 96.64 kB / 0.6062 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/1.832, allocations: 175.2 kB / 0.6064 GB, free: 9.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/1.833, allocations: 139.3 kB / 0.6065 GB, free: 9.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/1.833, allocations: 20 kB / 0.6065 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05735/1.89, allocations: 20.53 MB / 0.6266 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/1.89, allocations: 59.7 kB / 0.6266 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/1.891, allocations: 155.2 kB / 0.6268 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02695/1.917, allocations: 8.586 MB / 0.6351 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.917, allocations: 0 / 0.6351 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/1.917, allocations: 0 / 0.6351 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.725e-05/1.917, allocations: 4 kB / 0.6352 GB, free: 12.4 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.005993/1.923, allocations: 1.463 MB / 0.6366 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.924, allocations: 8.031 kB / 0.6366 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.924, allocations: 36.7 kB / 0.6366 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/1.924, allocations: 243.8 kB / 0.6369 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/1.924, allocations: 20.56 kB / 0.6369 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/1.924, allocations: 20 kB / 0.6369 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/1.925, allocations: 353.1 kB / 0.6372 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.925, allocations: 0 / 0.6372 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/1.925, allocations: 8 kB / 0.6372 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/1.925, allocations: 23.97 kB / 0.6373 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/1.925, allocations: 212.6 kB / 0.6375 GB, free: 9.918 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.02236/1.947, allocations: 9.942 MB / 0.6472 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/1.948, allocations: 118.9 kB / 0.6473 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/1.948, allocations: 85.72 kB / 0.6474 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1269/2.075, allocations: 52.01 MB / 0.6982 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/2.075, allocations: 42.53 kB / 0.6982 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=52): time 2.264e-06/2.075, allocations: 3.938 kB / 0.6982 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52): time 0.001202/2.076, allocations: 0.5095 MB / 0.6987 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/2.076, allocations: 59.28 kB / 0.6988 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/2.076, allocations: 234.1 kB / 0.699 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/2.076, allocations: 25.7 kB / 0.699 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/2.076, allocations: 145.1 kB / 0.6991 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/2.077, allocations: 174.4 kB / 0.6993 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/2.077, allocations: 65.64 kB / 0.6994 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001625/2.077, allocations: 338.8 kB / 0.6997 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/2.077, allocations: 84.53 kB / 0.6998 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/2.077, allocations: 141.3 kB / 0.6999 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/2.078, allocations: 266.6 kB / 0.7002 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/2.078, allocations: 3.938 kB / 0.7002 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005427/2.078, allocations: 337.9 kB / 0.7005 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/2.078, allocations: 12.17 kB / 0.7005 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/2.078, allocations: 4 kB / 0.7005 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003031/2.078, allocations: 108.8 kB / 0.7006 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/2.078, allocations: 8 kB / 0.7006 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005457/2.079, allocations: 0.6108 MB / 0.7012 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/2.079, allocations: 31.73 kB / 0.7013 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/2.079, allocations: 8 kB / 0.7013 GB, free: 2.449 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.0001544/2.079, allocations: 150.3 kB / 0.7014 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/2.079, allocations: 31.77 kB / 0.7014 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/2.08, allocations: 0.7771 MB / 0.7022 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005726/2.081, allocations: 384.3 kB / 0.7026 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.081, allocations: 192 / 0.7026 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/2.081, allocations: 3.984 kB / 0.7026 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/2.083, allocations: 1.472 MB / 0.704 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/2.083, allocations: 8 kB / 0.704 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/2.083, allocations: 63.91 kB / 0.7041 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/2.083, allocations: 97.33 kB / 0.7042 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/2.083, allocations: 16 kB / 0.7042 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005074/2.084, allocations: 0.6304 MB / 0.7048 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/2.084, allocations: 11.94 kB / 0.7048 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007914/2.085, allocations: 0.6442 MB / 0.7054 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-05/2.085, allocations: 124.7 kB / 0.7056 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/2.085, allocations: 31.83 kB / 0.7056 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/2.085, allocations: 12 kB / 0.7056 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/2.085, allocations: 51.81 kB / 0.7056 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/2.085, allocations: 16 kB / 0.7057 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003396/2.085, allocations: 291 kB / 0.7059 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.085, allocations: 0 / 0.7059 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003371/2.089, allocations: 1.345 MB / 0.7072 GB, free: 12 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.005362/2.094, allocations: 1.643 MB / 0.7089 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000787/2.095, allocations: 469.4 kB / 0.7093 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/2.095, allocations: 0 / 0.7093 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/2.095, allocations: 184 kB / 0.7095 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/2.097, allocations: 222.7 kB / 0.7097 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/2.098, allocations: 0.9465 MB / 0.7106 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/2.099, allocations: 0.844 MB / 0.7114 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001493/2.099, allocations: 46.94 kB / 0.7115 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/2.099, allocations: 31.44 kB / 0.7115 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/2.099, allocations: 0 / 0.7115 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.2394/2.338, allocations: 53.87 MB / 0.7641 GB, free: 188.2 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.393788115121424]