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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.849/0.849, allocations: 153.8 MB / 173.4 MB, free: 4.926 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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.0005395/0.0005395, allocations: 11.98 kB / 251.1 MB, free: 3.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1609, allocations: 33.36 MB / 284.5 MB, free: 2.133 MB / 222.1 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.TestStaticWaterWaterExchanger): time 1.834/1.995, allocations: 309.1 MB / 0.5796 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02247/2.017, allocations: 23.17 MB / 0.6023 GB, free: 5.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/2.018, allocations: 5.844 kB / 0.6023 GB, free: 5.574 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0005169/2.018, allocations: 205.3 kB / 0.6025 GB, free: 5.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006643/2.019, allocations: 321.3 kB / 0.6028 GB, free: 5.254 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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.01812/2.037, allocations: 7.333 MB / 0.6099 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/2.038, allocations: 0.9824 MB / 0.6109 GB, free: 1.477 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/2.039, allocations: 245.3 kB / 0.6111 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/2.039, allocations: 381.6 kB / 0.6115 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/2.04, allocations: 336.9 kB / 0.6118 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/2.04, allocations: 52.47 kB / 0.6119 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02851/2.068, allocations: 15.4 MB / 0.6269 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/2.068, allocations: 127.5 kB / 0.627 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006433/2.069, allocations: 359.9 kB / 0.6274 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/2.085, allocations: 6.961 MB / 0.6342 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/2.085, allocations: 4 kB / 0.6342 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/2.085, allocations: 2.031 kB / 0.6342 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.471e-05/2.085, allocations: 0 / 0.6342 GB, free: 12.1 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004744/2.09, allocations: 1.513 MB / 0.6357 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/2.09, allocations: 8.031 kB / 0.6357 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/2.09, allocations: 77.34 kB / 0.6357 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/2.091, allocations: 284.7 kB / 0.636 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/2.091, allocations: 208 kB / 0.6362 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/2.091, allocations: 40.5 kB / 0.6362 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/2.092, allocations: 0.7966 MB / 0.637 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/2.092, allocations: 5.75 kB / 0.637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/2.092, allocations: 20 kB / 0.637 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/2.092, allocations: 40.7 kB / 0.6371 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/2.094, allocations: 0.5809 MB / 0.6377 GB, free: 8.414 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.07151/2.165, allocations: 22.89 MB / 0.66 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/2.166, allocations: 476.8 kB / 0.6605 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/2.167, allocations: 282.8 kB / 0.6607 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07806/2.245, allocations: 21.1 MB / 0.6813 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/2.245, allocations: 34.56 kB / 0.6814 GB, free: 11.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 3.437e-06/2.245, allocations: 0 / 0.6814 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.02434/2.27, allocations: 3.188 MB / 0.6845 GB, free: 8.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/2.27, allocations: 59.39 kB / 0.6845 GB, free: 8.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/2.27, allocations: 328.5 kB / 0.6849 GB, free: 7.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/2.27, allocations: 33.7 kB / 0.6849 GB, free: 7.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/2.27, allocations: 229.7 kB / 0.6851 GB, free: 7.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/2.271, allocations: 432.1 kB / 0.6855 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/2.271, allocations: 138 kB / 0.6856 GB, free: 6.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002382/2.272, allocations: 366.8 kB / 0.686 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/2.272, allocations: 286.8 kB / 0.6863 GB, free: 6.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/2.274, allocations: 393.2 kB / 0.6866 GB, free: 5.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/2.276, allocations: 0.732 MB / 0.6874 GB, free: 5.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/2.276, allocations: 0 / 0.6874 GB, free: 5.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.006444/2.282, allocations: 1.244 MB / 0.6886 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/2.282, allocations: 7.938 kB / 0.6886 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/2.282, allocations: 4 kB / 0.6886 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00478/2.287, allocations: 1.381 MB / 0.6899 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/2.287, allocations: 19.98 kB / 0.69 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/2.29, allocations: 1.39 MB / 0.6913 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/2.29, allocations: 95.28 kB / 0.6914 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/2.29, allocations: 20 kB / 0.6914 GB, free: 0.8594 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.0002668/2.29, allocations: 183.5 kB / 0.6916 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/2.291, allocations: 55.58 kB / 0.6917 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004739/2.295, allocations: 3.876 MB / 0.6954 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002993/2.298, allocations: 1.263 MB / 0.6967 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/2.298, allocations: 5.422 kB / 0.6967 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/2.298, allocations: 3.984 kB / 0.6967 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00723/2.306, allocations: 2.819 MB / 0.6994 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/2.306, allocations: 0.8438 kB / 0.6994 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/2.306, allocations: 100.8 kB / 0.6995 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/2.308, allocations: 0.8615 MB / 0.7004 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/2.308, allocations: 19.98 kB / 0.7004 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/2.311, allocations: 1.507 MB / 0.7019 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.311, allocations: 1.172 kB / 0.7019 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/2.316, allocations: 1.477 MB / 0.7033 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/2.316, allocations: 91.22 kB / 0.7034 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/2.316, allocations: 28.58 kB / 0.7034 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/2.316, allocations: 32.66 kB / 0.7035 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/2.316, allocations: 56.89 kB / 0.7035 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/2.317, allocations: 27.98 kB / 0.7035 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004823/2.317, allocations: 383.1 kB / 0.7039 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.317, allocations: 0 / 0.7039 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002628/2.32, allocations: 1.064 MB / 0.7049 GB, free: 2.781 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.004501/2.324, allocations: 1.208 MB / 0.7061 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002273/2.326, allocations: 1.079 MB / 0.7072 GB, free: 480 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/2.326, allocations: 10.06 kB / 0.7072 GB, free: 472 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/2.328, allocations: 471.8 kB / 0.7076 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/2.33, allocations: 437.2 kB / 0.708 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/2.333, allocations: 1.642 MB / 0.7097 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/2.333, allocations: 0.9948 MB / 0.7106 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/2.333, allocations: 47.44 kB / 0.7107 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/2.333, allocations: 0 / 0.7107 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.04307/2.376, allocations: 28.76 MB / 0.7388 GB, free: 0.6016 MB / 0.5919 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: 11.369163444032893] Failed to read output from testmodel.py, exit status != 0: 2.54688103008084 2.791512811 0.703580085 Calling exit ...