Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.7749/0.7749, allocations: 111.6 MB / 131 MB, free: 5.074 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 175.7 MB, free: 9.504 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.903e-05, allocations: 6.312 kB / 175.7 MB, free: 9.496 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve): time 1.611/1.611, allocations: 254.6 MB / 430.2 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.421/2.032, allocations: 165.1 MB / 0.5814 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/2.032, allocations: 15.88 kB / 0.5814 GB, free: 8.395 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/ControlValve.mo:29:3-30:81:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/ControlValve.mo:31:3-32:79:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000298/2.033, allocations: 95.45 kB / 0.5815 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/2.033, allocations: 182.7 kB / 0.5817 GB, free: 8.121 MB / 0.4948 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.03216/2.065, allocations: 11.73 MB / 0.5931 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006911/2.066, allocations: 446.5 kB / 0.5936 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/2.066, allocations: 205.2 kB / 0.5938 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005724/2.067, allocations: 271.4 kB / 0.594 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/2.067, allocations: 183.5 kB / 0.5942 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/2.067, allocations: 32 kB / 0.5942 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03814/2.105, allocations: 18.7 MB / 0.6125 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/2.105, allocations: 119.6 kB / 0.6126 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/2.106, allocations: 139.6 kB / 0.6127 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02723/2.133, allocations: 12.44 MB / 0.6249 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/2.133, allocations: 0 / 0.6249 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.343e-06/2.133, allocations: 3.938 kB / 0.6249 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.576e-06/2.133, allocations: 4 kB / 0.6249 GB, free: 11.78 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.005175/2.138, allocations: 1.861 MB / 0.6267 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/2.138, allocations: 11.98 kB / 0.6267 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/2.138, allocations: 83.67 kB / 0.6268 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/2.139, allocations: 331.1 kB / 0.6271 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/2.139, allocations: 25 kB / 0.6271 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/2.139, allocations: 32 kB / 0.6272 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/2.14, allocations: 381.5 kB / 0.6275 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/2.14, allocations: 0 / 0.6275 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/2.14, allocations: 16 kB / 0.6276 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/2.14, allocations: 11.94 kB / 0.6276 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/2.14, allocations: 262.4 kB / 0.6278 GB, free: 8.691 MB / 0.5417 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.008443/2.149, allocations: 3.19 MB / 0.6309 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/2.149, allocations: 111.2 kB / 0.631 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/2.149, allocations: 44.84 kB / 0.6311 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2446/2.394, allocations: 67.22 MB / 0.6967 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/2.394, allocations: 34.55 kB / 0.6968 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/2.394, allocations: 0 / 0.6968 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0009946/2.395, allocations: 238.2 kB / 0.697 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/2.395, allocations: 55.41 kB / 0.697 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/2.395, allocations: 449.4 kB / 0.6975 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/2.395, allocations: 29.7 kB / 0.6975 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/2.396, allocations: 260 kB / 0.6977 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/2.396, allocations: 31.73 kB / 0.6978 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/2.396, allocations: 65.64 kB / 0.6978 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002043/2.396, allocations: 342.8 kB / 0.6982 GB, free: 464 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/2.396, allocations: 63.97 kB / 0.6982 GB, free: 400 kB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/2.396, allocations: 163 kB / 0.6984 GB, free: 192 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/2.397, allocations: 232.7 kB / 0.6986 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/2.397, allocations: 0 / 0.6986 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006825/2.397, allocations: 318.7 kB / 0.6989 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.397, allocations: 9.406 kB / 0.6989 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/2.397, allocations: 4 kB / 0.6989 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/2.398, allocations: 122.4 kB / 0.699 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/2.398, allocations: 39.92 kB / 0.6991 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006403/2.399, allocations: 0.5679 MB / 0.6996 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/2.399, allocations: 31.84 kB / 0.6997 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/2.399, allocations: 12 kB / 0.6997 GB, free: 14.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,ControlValve.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,ControlValve.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000231/2.4, allocations: 177.8 kB / 0.6998 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/2.4, allocations: 39.7 kB / 0.6999 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008023/2.4, allocations: 220.1 kB / 0.7001 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/2.4, allocations: 0 / 0.7001 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/2.4, allocations: 0 / 0.7001 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/2.4, allocations: 0 / 0.7001 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/2.401, allocations: 281.2 kB / 0.7004 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/2.401, allocations: 0 / 0.7004 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/2.401, allocations: 4 kB / 0.7004 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/2.401, allocations: 80.66 kB / 0.7004 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/2.401, allocations: 0 / 0.7004 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/2.402, allocations: 0.568 MB / 0.701 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/2.402, allocations: 0 / 0.701 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/2.402, allocations: 209.6 kB / 0.7012 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/2.402, allocations: 59.72 kB / 0.7012 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/2.403, allocations: 8.016 kB / 0.7013 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/2.403, allocations: 0 / 0.7013 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/2.403, allocations: 7.984 kB / 0.7013 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/2.403, allocations: 0 / 0.7013 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004159/2.403, allocations: 303.1 kB / 0.7015 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/2.403, allocations: 0 / 0.7015 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003859/2.407, allocations: 1.492 MB / 0.703 GB, free: 11.27 MB / 0.6198 GB 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 (4): * Single equations (assignments): 3 * 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.006797/2.414, allocations: 2.42 MB / 0.7054 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005878/2.414, allocations: 160.5 kB / 0.7055 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/2.414, allocations: 0 / 0.7055 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/2.414, allocations: 60.03 kB / 0.7056 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/2.415, allocations: 79.88 kB / 0.7057 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/2.416, allocations: 0.6552 MB / 0.7063 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/2.417, allocations: 208.8 kB / 0.7065 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001355/2.417, allocations: 38.23 kB / 0.7065 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/2.417, allocations: 24.5 kB / 0.7066 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/2.417, allocations: 0 / 0.7066 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of Templates: time 0.201/2.618, allocations: 46.39 MB / 0.7519 GB, free: 295.3 MB / 0.6355 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.858255332102999]