Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.8366/0.8366, allocations: 152.6 MB / 171.4 MB, free: 6.008 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.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005562/0.0005562, allocations: 15.98 kB / 248.5 MB, free: 5.637 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1552, allocations: 33.06 MB / 281.6 MB, free: 3.547 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.TestBend): time 1.574/1.729, allocations: 301.3 MB / 0.5692 GB, free: 5.414 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2516/1.98, allocations: 35.27 MB / 0.6036 GB, free: 5.445 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/1.981, allocations: 2.875 kB / 0.6036 GB, free: 5.445 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/Bend.mo:55:3-57: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/Bend.mo:58:3-60:43: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.0005761/1.981, allocations: 291.7 kB / 0.6039 GB, free: 5.371 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/1.982, allocations: 277 kB / 0.6042 GB, free: 5.273 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.02413/2.006, allocations: 10.07 MB / 0.614 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/2.006, allocations: 0.4967 MB / 0.6145 GB, free: 144 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/2.007, allocations: 152.5 kB / 0.6146 GB, free: 48 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/2.007, allocations: 254.8 kB / 0.6149 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/2.007, allocations: 319.1 kB / 0.6152 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/2.007, allocations: 25.72 kB / 0.6152 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03436/2.042, allocations: 18.06 MB / 0.6328 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/2.042, allocations: 183.3 kB / 0.633 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003256/2.042, allocations: 266.9 kB / 0.6333 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02027/2.062, allocations: 8.876 MB / 0.6419 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/2.062, allocations: 0.6875 kB / 0.6419 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/2.062, allocations: 2.375 kB / 0.6419 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.001e-05/2.062, allocations: 0 / 0.6419 GB, free: 5.969 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004708/2.067, allocations: 1.815 MB / 0.6437 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/2.067, allocations: 16.89 kB / 0.6437 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/2.067, allocations: 77.5 kB / 0.6438 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/2.068, allocations: 440.9 kB / 0.6442 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/2.068, allocations: 16.5 kB / 0.6442 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/2.068, allocations: 24 kB / 0.6443 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/2.069, allocations: 437.3 kB / 0.6447 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/2.069, allocations: 0.5 kB / 0.6447 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/2.069, allocations: 12.62 kB / 0.6447 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/2.069, allocations: 12 kB / 0.6447 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/2.069, allocations: 356.3 kB / 0.645 GB, free: 2.699 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.03909/2.108, allocations: 11.81 MB / 0.6566 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/2.109, allocations: 156.3 kB / 0.6567 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/2.109, allocations: 94.25 kB / 0.6568 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1522/2.261, allocations: 42.49 MB / 0.6983 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/2.261, allocations: 30.56 kB / 0.6983 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=38): time 2.144e-06/2.261, allocations: 0.5625 kB / 0.6983 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.001857/2.263, allocations: 0.5237 MB / 0.6988 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/2.263, allocations: 106.8 kB / 0.699 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/2.265, allocations: 1.004 MB / 0.6999 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/2.265, allocations: 29.7 kB / 0.7 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/2.265, allocations: 308.5 kB / 0.7003 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/2.265, allocations: 132.7 kB / 0.7004 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/2.265, allocations: 69.67 kB / 0.7004 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001873/2.265, allocations: 378.8 kB / 0.7008 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/2.265, allocations: 156.4 kB / 0.701 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/2.266, allocations: 247 kB / 0.7012 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/2.266, allocations: 340 kB / 0.7015 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/2.266, allocations: 0 / 0.7015 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007874/2.267, allocations: 0.5308 MB / 0.702 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/2.267, allocations: 11.94 kB / 0.702 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/2.267, allocations: 0 / 0.702 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/2.269, allocations: 216.8 kB / 0.7023 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/2.269, allocations: 35.92 kB / 0.7023 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/2.269, allocations: 0.6707 MB / 0.7029 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/2.27, allocations: 45.27 kB / 0.703 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/2.27, allocations: 11.98 kB / 0.703 GB, free: 6.984 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002863/2.27, allocations: 255.3 kB / 0.7032 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/2.27, allocations: 67.52 kB / 0.7033 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/2.271, allocations: 0.69 MB / 0.704 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003826/2.271, allocations: 243 kB / 0.7042 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/2.271, allocations: 1.031 kB / 0.7042 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/2.271, allocations: 3.938 kB / 0.7042 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/2.273, allocations: 0.9504 MB / 0.7051 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/2.273, allocations: 0 / 0.7051 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/2.273, allocations: 12.69 kB / 0.7052 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009346/2.274, allocations: 180.7 kB / 0.7053 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/2.274, allocations: 3.984 kB / 0.7053 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/2.274, allocations: 0.706 MB / 0.706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/2.274, allocations: 3.984 kB / 0.706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/2.275, allocations: 416 kB / 0.7064 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/2.275, allocations: 96.23 kB / 0.7065 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/2.275, allocations: 15.89 kB / 0.7065 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/2.275, allocations: 7.984 kB / 0.7065 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/2.276, allocations: 23.91 kB / 0.7066 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/2.276, allocations: 4.516 kB / 0.7066 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001037/2.277, allocations: 0.8114 MB / 0.7074 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/2.277, allocations: 0 / 0.7074 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003182/2.28, allocations: 1.27 MB / 0.7086 GB, free: 1.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005056/2.285, allocations: 1.797 MB / 0.7104 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007904/2.286, allocations: 338.7 kB / 0.7107 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.286, allocations: 0 / 0.7107 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/2.286, allocations: 105.3 kB / 0.7108 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/2.287, allocations: 153.6 kB / 0.7109 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/2.289, allocations: 1.128 MB / 0.712 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/2.289, allocations: 0.9323 MB / 0.7129 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001516/2.289, allocations: 60.48 kB / 0.713 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/2.289, allocations: 31.44 kB / 0.713 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/2.289, allocations: 0 / 0.713 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.06557/2.355, allocations: 46 MB / 0.7579 GB, free: 14.97 MB / 0.6231 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.547909868881106] Failed to read output from testmodel.py, exit status != 0: 2.701944313943386 2.712128389 0.647210374 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f25742397b0>