Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.5322/0.5322, allocations: 111.6 MB / 131.5 MB, free: 4.914 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 176.6 MB, free: 8.91 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.284e-05, allocations: 12.98 kB / 176.6 MB, free: 8.898 MB / 170.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.TestControlValve): time 1.004/1.004, allocations: 262.9 MB / 439.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02846/1.032, allocations: 33.23 MB / 472.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/1.032, allocations: 4 kB / 472.8 MB, free: 13.66 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78: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/SinkP.mo:19:3-20:80: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/PressureLosses/ControlValve.mo:24:3-25:81: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/PressureLosses/ControlValve.mo:26:3-27:79:writable] Warning: Connector C2 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.0003946/1.033, allocations: 155.2 kB / 472.9 MB, free: 13.51 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/1.033, allocations: 175 kB / 473.1 MB, free: 13.34 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der 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.01768/1.051, allocations: 10.03 MB / 483.1 MB, free: 3.262 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004412/1.051, allocations: 410 kB / 483.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/1.051, allocations: 114.8 kB / 483.6 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/1.051, allocations: 251.3 kB / 483.9 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/1.052, allocations: 127.7 kB / 484 MB, free: 2.375 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/1.052, allocations: 20 kB / 484 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1861/1.238, allocations: 16.83 MB / 0.4891 GB, free: 8.016 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/1.238, allocations: 80.97 kB / 0.4892 GB, free: 8.016 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/1.238, allocations: 95.83 kB / 0.4893 GB, free: 8.016 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/1.248, allocations: 10.82 MB / 0.4998 GB, free: 3.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.248, allocations: 0.5 kB / 0.4998 GB, free: 3.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/1.248, allocations: 0 / 0.4998 GB, free: 3.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/1.248, allocations: 1.469 kB / 0.4998 GB, free: 3.188 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.002113/1.251, allocations: 1.476 MB / 0.5013 GB, free: 2.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/1.251, allocations: 14.39 kB / 0.5013 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/1.251, allocations: 40.25 kB / 0.5013 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.251, allocations: 197.9 kB / 0.5015 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.251, allocations: 13 kB / 0.5015 GB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/1.251, allocations: 22.22 kB / 0.5016 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/1.251, allocations: 236.2 kB / 0.5018 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.251, allocations: 1.938 kB / 0.5018 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/1.251, allocations: 10.19 kB / 0.5018 GB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.251, allocations: 15.08 kB / 0.5018 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/1.251, allocations: 85.92 kB / 0.5019 GB, free: 1.785 MB / 426.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.01331/1.264, allocations: 9.196 MB / 0.5109 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.265, allocations: 106.5 kB / 0.511 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/1.265, allocations: 32.84 kB / 0.511 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06269/1.327, allocations: 39.05 MB / 0.5491 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/1.327, allocations: 38.56 kB / 0.5492 GB, free: 4.332 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 2.525e-06/1.327, allocations: 0.8906 kB / 0.5492 GB, free: 4.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007541/1.328, allocations: 215 kB / 0.5494 GB, free: 4.117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/1.328, allocations: 54.69 kB / 0.5494 GB, free: 4.055 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1.328, allocations: 253.3 kB / 0.5497 GB, free: 3.828 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/1.328, allocations: 25.7 kB / 0.5497 GB, free: 3.797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/1.328, allocations: 171.3 kB / 0.5499 GB, free: 3.637 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/1.328, allocations: 115.2 kB / 0.55 GB, free: 3.531 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/1.328, allocations: 48.23 kB / 0.55 GB, free: 3.488 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/1.328, allocations: 344.3 kB / 0.5503 GB, free: 3.156 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/1.329, allocations: 30.81 kB / 0.5504 GB, free: 3.125 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/1.329, allocations: 76.69 kB / 0.5505 GB, free: 3.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/1.329, allocations: 128.8 kB / 0.5506 GB, free: 2.914 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.329, allocations: 7.938 kB / 0.5506 GB, free: 2.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001719/1.329, allocations: 173.9 kB / 0.5507 GB, free: 2.734 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.329, allocations: 9.219 kB / 0.5508 GB, free: 2.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.329, allocations: 4 kB / 0.5508 GB, free: 2.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/1.329, allocations: 80.36 kB / 0.5508 GB, free: 2.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/1.329, allocations: 15.27 kB / 0.5509 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002627/1.329, allocations: 0.5647 MB / 0.5514 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/1.33, allocations: 27.73 kB / 0.5514 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/1.33, allocations: 4.625 kB / 0.5514 GB, free: 2.016 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,ControlValve.C1.a,ControlValve.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 7.361e-05/1.33, allocations: 122.4 kB / 0.5515 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.33, allocations: 13.02 kB / 0.5516 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/1.33, allocations: 0.5285 MB / 0.5521 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/1.33, allocations: 153.2 kB / 0.5522 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/1.33, allocations: 1 kB / 0.5522 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.33, allocations: 3.938 kB / 0.5522 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/1.331, allocations: 0.5298 MB / 0.5527 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.331, allocations: 0 / 0.5527 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/1.331, allocations: 27.55 kB / 0.5528 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/1.331, allocations: 59.55 kB / 0.5528 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.331, allocations: 7.984 kB / 0.5528 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002444/1.331, allocations: 0.5857 MB / 0.5534 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.331, allocations: 0 / 0.5534 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/1.331, allocations: 313.1 kB / 0.5537 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/1.331, allocations: 35.69 kB / 0.5537 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/1.331, allocations: 17.84 kB / 0.5538 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/1.331, allocations: 8 kB / 0.5538 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/1.331, allocations: 7.828 kB / 0.5538 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/1.331, allocations: 4 kB / 0.5538 GB, free: 15.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/1.331, allocations: 128.9 kB / 0.5539 GB, free: 15.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.331, allocations: 0 / 0.5539 GB, free: 15.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002047/1.334, allocations: 1.228 MB / 0.5551 GB, free: 14.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003173/1.337, allocations: 2.052 MB / 0.5571 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/1.337, allocations: 175.3 kB / 0.5573 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.337, allocations: 4 kB / 0.5573 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/1.337, allocations: 85.61 kB / 0.5574 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.337, allocations: 123.6 kB / 0.5575 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/1.338, allocations: 0.5931 MB / 0.5581 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/1.338, allocations: 103 kB / 0.5582 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.405e-05/1.338, allocations: 28.7 kB / 0.5582 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.338, allocations: 111.3 kB / 0.5583 GB, free: 11.21 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/1.338, allocations: 4 kB / 0.5583 GB, free: 11.2 MB / 490.7 MB Notification: Performance of Templates: time 0.05642/1.395, allocations: 49.63 MB / 0.6068 GB, free: 9.871 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.864279654342681]