Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.8632/0.8632, allocations: 152.6 MB / 171.4 MB, free: 6.016 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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005633, allocations: 19.97 kB / 248.5 MB, free: 5.645 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1831, allocations: 33.05 MB / 281.6 MB, free: 3.578 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.TestPipePressureLoss): time 1.59/1.773, allocations: 301.2 MB / 0.5691 GB, free: 5.559 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2618/2.034, allocations: 34.61 MB / 0.6028 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/2.035, allocations: 3.75 kB / 0.6028 GB, free: 5.969 MB / 478.1 MB [/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). [/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/PressureLosses/PipePressureLoss.mo:35:3-37:42: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/PressureLosses/PipePressureLoss.mo:38:3-40:37: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.0003702/2.035, allocations: 135.9 kB / 0.603 GB, free: 5.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/2.035, allocations: 115.9 kB / 0.6031 GB, free: 5.824 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/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49: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.02376/2.059, allocations: 9.816 MB / 0.6127 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/2.059, allocations: 349.8 kB / 0.613 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/2.06, allocations: 91.92 kB / 0.6131 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/2.06, allocations: 143.5 kB / 0.6132 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/2.06, allocations: 109.9 kB / 0.6133 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/2.06, allocations: 17.91 kB / 0.6134 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03493/2.095, allocations: 17.91 MB / 0.6308 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/2.095, allocations: 47.78 kB / 0.6309 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/2.095, allocations: 136.4 kB / 0.631 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02112/2.116, allocations: 8.424 MB / 0.6392 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/2.116, allocations: 7.922 kB / 0.6393 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/2.116, allocations: 1.031 kB / 0.6393 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.577e-05/2.116, allocations: 0 / 0.6393 GB, free: 8.758 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004208/2.121, allocations: 1.412 MB / 0.6406 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/2.121, allocations: 10.25 kB / 0.6406 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/2.121, allocations: 27.81 kB / 0.6407 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/2.121, allocations: 184.7 kB / 0.6408 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/2.121, allocations: 12.44 kB / 0.6409 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/2.121, allocations: 21.92 kB / 0.6409 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/2.121, allocations: 297.9 kB / 0.6412 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/2.121, allocations: 0.5938 kB / 0.6412 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/2.121, allocations: 12 kB / 0.6412 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/2.121, allocations: 15.67 kB / 0.6412 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/2.122, allocations: 174.9 kB / 0.6414 GB, free: 6.531 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.03918/2.161, allocations: 11.24 MB / 0.6523 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/2.161, allocations: 102.7 kB / 0.6524 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/2.161, allocations: 76.83 kB / 0.6525 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1566/2.318, allocations: 42.46 MB / 0.694 GB, free: 472 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/2.318, allocations: 34.56 kB / 0.694 GB, free: 428 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/2.318, allocations: 0 / 0.694 GB, free: 428 kB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.001088/2.319, allocations: 370.4 kB / 0.6944 GB, free: 48 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/2.319, allocations: 51.97 kB / 0.6944 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/2.319, allocations: 223.1 kB / 0.6946 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/2.319, allocations: 25.7 kB / 0.6946 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/2.32, allocations: 148.8 kB / 0.6948 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-05/2.32, allocations: 115 kB / 0.6949 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/2.32, allocations: 53.64 kB / 0.6949 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001686/2.32, allocations: 343.3 kB / 0.6953 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/2.32, allocations: 71.98 kB / 0.6953 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/2.32, allocations: 116.2 kB / 0.6955 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/2.321, allocations: 219.7 kB / 0.6957 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/2.321, allocations: 0 / 0.6957 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004896/2.321, allocations: 297.7 kB / 0.6959 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/2.321, allocations: 4 kB / 0.696 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/2.321, allocations: 4.562 kB / 0.696 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/2.322, allocations: 165.4 kB / 0.6961 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/2.322, allocations: 11.98 kB / 0.6961 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006029/2.323, allocations: 0.6316 MB / 0.6967 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/2.323, allocations: 35.7 kB / 0.6968 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/2.323, allocations: 4.562 kB / 0.6968 GB, free: 13.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/2.323, allocations: 134.8 kB / 0.6969 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/2.323, allocations: 19.86 kB / 0.6969 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008258/2.324, allocations: 0.5868 MB / 0.6975 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004115/2.324, allocations: 223.4 kB / 0.6977 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/2.324, allocations: 0 / 0.6977 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/2.324, allocations: 0 / 0.6977 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/2.325, allocations: 0.7065 MB / 0.6984 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.325, allocations: 0 / 0.6984 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/2.325, allocations: 15.98 kB / 0.6984 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/2.326, allocations: 112.8 kB / 0.6985 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/2.326, allocations: 0 / 0.6985 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005841/2.326, allocations: 0.6638 MB / 0.6992 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/2.326, allocations: 0.75 kB / 0.6992 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/2.327, allocations: 343.7 kB / 0.6995 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/2.327, allocations: 31.78 kB / 0.6995 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/2.327, allocations: 11.88 kB / 0.6995 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/2.327, allocations: 8 kB / 0.6996 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/2.327, allocations: 12.03 kB / 0.6996 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/2.327, allocations: 9.688 kB / 0.6996 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002789/2.328, allocations: 235.1 kB / 0.6998 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/2.328, allocations: 0.75 kB / 0.6998 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003045/2.331, allocations: 1.204 MB / 0.701 GB, free: 8.973 MB / 0.5606 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005652/2.336, allocations: 1.73 MB / 0.7027 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005918/2.337, allocations: 216.2 kB / 0.7029 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.337, allocations: 0 / 0.7029 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/2.337, allocations: 88.14 kB / 0.703 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/2.338, allocations: 125.4 kB / 0.7031 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/2.339, allocations: 0.5217 MB / 0.7036 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/2.339, allocations: 0.7712 MB / 0.7043 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.562e-05/2.339, allocations: 22.81 kB / 0.7044 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/2.339, allocations: 19.44 kB / 0.7044 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/2.339, allocations: 0 / 0.7044 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.06239/2.402, allocations: 42.69 MB / 0.7461 GB, free: 11.22 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.547138322144747] Failed to read output from testmodel.py, exit status != 0: 2.5614526346325874 2.78452469 0.665451851 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3538bb57b0>