Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.8649/0.8649, allocations: 152.6 MB / 171.4 MB, free: 5.988 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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0007021/0.0007021, allocations: 15.91 kB / 248.5 MB, free: 5.629 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1762, 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.TestStaticWaterWaterExchanger): time 1.777/1.953, allocations: 302.7 MB / 0.5706 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2672/2.22, allocations: 23.07 MB / 0.5931 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/2.22, allocations: 5.094 kB / 0.5931 GB, free: 12.78 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42:writable] Warning: Connector Ec 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/HeatExchangers/StaticWaterWaterExchanger.mo:84:3-86:38:writable] Warning: Connector Ef 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/HeatExchangers/StaticWaterWaterExchanger.mo:87:3-89:37:writable] Warning: Connector Sf 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/HeatExchangers/StaticWaterWaterExchanger.mo:90:3-92:37:writable] Warning: Connector Sc 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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.0005495/2.221, allocations: 199.7 kB / 0.5933 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005237/2.221, allocations: 322.3 kB / 0.5936 GB, free: 12.63 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. Notification: Performance of NFTyping.typeClassSections: time 0.02059/2.242, allocations: 7.325 MB / 0.6008 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/2.243, allocations: 0.9809 MB / 0.6017 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/2.244, allocations: 241.3 kB / 0.602 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/2.244, allocations: 399.5 kB / 0.6024 GB, free: 9.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/2.244, allocations: 321 kB / 0.6027 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/2.244, allocations: 50.56 kB / 0.6027 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02578/2.27, allocations: 15.4 MB / 0.6177 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/2.27, allocations: 131.5 kB / 0.6179 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006216/2.271, allocations: 354.2 kB / 0.6182 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01712/2.288, allocations: 6.942 MB / 0.625 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/2.288, allocations: 0 / 0.625 GB, free: 7.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/2.288, allocations: 0 / 0.625 GB, free: 7.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/2.288, allocations: 0 / 0.625 GB, free: 7.543 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004951/2.293, allocations: 1.516 MB / 0.6265 GB, free: 5.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/2.293, allocations: 12.03 kB / 0.6265 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/2.293, allocations: 73.09 kB / 0.6266 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/2.294, allocations: 282.4 kB / 0.6268 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/2.294, allocations: 126 kB / 0.6269 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/2.294, allocations: 46.38 kB / 0.627 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/2.295, allocations: 0.7946 MB / 0.6278 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/2.295, allocations: 0 / 0.6278 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/2.296, allocations: 26.67 kB / 0.6278 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/2.296, allocations: 39.95 kB / 0.6278 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/2.297, allocations: 0.5804 MB / 0.6284 GB, free: 3.945 MB / 494.1 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.07855/2.375, allocations: 22.91 MB / 0.6508 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/2.377, allocations: 473.9 kB / 0.6512 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/2.377, allocations: 270.8 kB / 0.6515 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07833/2.456, allocations: 20.63 MB / 0.6716 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/2.456, allocations: 38.5 kB / 0.6717 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=126): time 2.966e-06/2.456, allocations: 0 / 0.6717 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126): time 0.01912/2.475, allocations: 3.18 MB / 0.6748 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/2.475, allocations: 55.7 kB / 0.6748 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/2.475, allocations: 328.5 kB / 0.6751 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/2.476, allocations: 33.7 kB / 0.6752 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/2.476, allocations: 230.2 kB / 0.6754 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/2.476, allocations: 432.1 kB / 0.6758 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/2.476, allocations: 138 kB / 0.6759 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001907/2.477, allocations: 366.8 kB / 0.6763 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/2.477, allocations: 285.6 kB / 0.6766 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/2.478, allocations: 398.1 kB / 0.6769 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/2.479, allocations: 0.7358 MB / 0.6776 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/2.479, allocations: 4 kB / 0.6777 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004753/2.484, allocations: 1.236 MB / 0.6789 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/2.484, allocations: 4 kB / 0.6789 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/2.484, allocations: 4 kB / 0.6789 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004259/2.488, allocations: 1.375 MB / 0.6802 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/2.489, allocations: 27.92 kB / 0.6802 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/2.491, allocations: 1.386 MB / 0.6816 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/2.492, allocations: 95.23 kB / 0.6817 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/2.492, allocations: 23.98 kB / 0.6817 GB, free: 12.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002991/2.492, allocations: 177 kB / 0.6819 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/2.492, allocations: 55.58 kB / 0.6819 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/2.497, allocations: 3.882 MB / 0.6857 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003093/2.5, allocations: 1.263 MB / 0.6869 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/2.5, allocations: 0 / 0.6869 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/2.5, allocations: 3.984 kB / 0.687 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/2.508, allocations: 2.823 MB / 0.6897 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/2.508, allocations: 0.875 kB / 0.6897 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/2.508, allocations: 96.67 kB / 0.6898 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/2.511, allocations: 0.8661 MB / 0.6906 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/2.511, allocations: 23.98 kB / 0.6907 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/2.513, allocations: 1.509 MB / 0.6921 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.513, allocations: 0 / 0.6921 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/2.519, allocations: 1.476 MB / 0.6936 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/2.519, allocations: 87.27 kB / 0.6937 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/2.519, allocations: 31.84 kB / 0.6937 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/2.519, allocations: 27.91 kB / 0.6937 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/2.519, allocations: 57.64 kB / 0.6938 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/2.52, allocations: 27.98 kB / 0.6938 GB, free: 244 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005248/2.52, allocations: 383.1 kB / 0.6942 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/2.52, allocations: 0 / 0.6942 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002858/2.523, allocations: 1.06 MB / 0.6952 GB, free: 14.8 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004726/2.528, allocations: 1.201 MB / 0.6964 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002471/2.53, allocations: 1.093 MB / 0.6974 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/2.53, allocations: 4.125 kB / 0.6975 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/2.531, allocations: 475.8 kB / 0.6979 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/2.534, allocations: 429 kB / 0.6983 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/2.537, allocations: 1.583 MB / 0.6999 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/2.537, allocations: 0.9909 MB / 0.7008 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002889/2.538, allocations: 65.55 kB / 0.7009 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/2.538, allocations: 43.44 kB / 0.7009 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/2.538, allocations: 0 / 0.7009 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.07645/2.614, allocations: 50.91 MB / 0.7506 GB, free: 6.68 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.5946936449036] Failed to read output from testmodel.py, exit status != 0: 2.9920414770022035 3.001953191 0.7111614580000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f45073a17b0>