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.9058/0.9058, allocations: 120.4 MB / 139.5 MB, free: 456 kB / 126.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 2.194e-06/2.194e-06, allocations: 0 / 217.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.781e-05, allocations: 2.281 kB / 217.2 MB, free: 13.7 MB / 206.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.616/1.616, allocations: 255.6 MB / 472.9 MB, free: 9.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2792/1.896, allocations: 20.66 MB / 493.5 MB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/1.896, allocations: 4.531 kB / 493.5 MB, free: 14.6 MB / 446.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.0006008/1.897, allocations: 175.5 kB / 493.7 MB, free: 14.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000683/1.897, allocations: 332.7 kB / 494 MB, free: 14.29 MB / 446.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.02475/1.922, allocations: 7.267 MB / 0.4895 GB, free: 9.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/1.924, allocations: 1.024 MB / 0.4905 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/1.924, allocations: 245.5 kB / 0.4908 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/1.925, allocations: 0.5694 MB / 0.4913 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/1.925, allocations: 241.9 kB / 0.4916 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/1.925, allocations: 50.69 kB / 0.4916 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03122/1.957, allocations: 14.46 MB / 0.5057 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/1.957, allocations: 131.9 kB / 0.5059 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006486/1.958, allocations: 239.4 kB / 0.5061 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02337/1.981, allocations: 9.017 MB / 0.5149 GB, free: 2.445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.981, allocations: 4.594 kB / 0.5149 GB, free: 2.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.986e-06/1.981, allocations: 0 / 0.5149 GB, free: 2.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/1.981, allocations: 0 / 0.5149 GB, free: 2.441 MB / 462.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.005674/1.987, allocations: 1.498 MB / 0.5164 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.987, allocations: 8.031 kB / 0.5164 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/1.987, allocations: 81.7 kB / 0.5164 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/1.987, allocations: 276.9 kB / 0.5167 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/1.988, allocations: 207.5 kB / 0.5169 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/1.988, allocations: 47.94 kB / 0.517 GB, free: 252 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/1.989, allocations: 0.7887 MB / 0.5177 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.989, allocations: 7.938 kB / 0.5177 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/1.989, allocations: 20.5 kB / 0.5177 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/1.99, allocations: 41.27 kB / 0.5178 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.991, allocations: 0.5897 MB / 0.5184 GB, free: 14.76 MB / 478.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.08608/2.077, allocations: 21.78 MB / 0.5396 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/2.078, allocations: 465.3 kB / 0.5401 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/2.079, allocations: 282.7 kB / 0.5403 GB, free: 8.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07907/2.158, allocations: 21.17 MB / 0.561 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/2.158, allocations: 46.36 kB / 0.5611 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=126): time 3.958e-06/2.158, allocations: 0.6094 kB / 0.5611 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=126): time 0.01913/2.177, allocations: 3.174 MB / 0.5642 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/2.177, allocations: 55.41 kB / 0.5642 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/2.178, allocations: 253.8 kB / 0.5645 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/2.178, allocations: 29.7 kB / 0.5645 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/2.178, allocations: 245.6 kB / 0.5647 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003695/2.178, allocations: 416.2 kB / 0.5651 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/2.179, allocations: 138.1 kB / 0.5653 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001888/2.179, allocations: 362.8 kB / 0.5656 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/2.179, allocations: 281.7 kB / 0.5659 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/2.18, allocations: 397.4 kB / 0.5662 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/2.182, allocations: 0.7269 MB / 0.567 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/2.182, allocations: 5 kB / 0.567 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004646/2.186, allocations: 1.229 MB / 0.5682 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/2.186, allocations: 7.938 kB / 0.5682 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/2.186, allocations: 4 kB / 0.5682 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/2.191, allocations: 1.376 MB / 0.5695 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/2.191, allocations: 25.86 kB / 0.5695 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/2.193, allocations: 1.39 MB / 0.5709 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/2.194, allocations: 75.39 kB / 0.571 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/2.194, allocations: 24.61 kB / 0.571 GB, free: 8.711 MB / 0.5137 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.0002862/2.194, allocations: 189.7 kB / 0.5712 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/2.194, allocations: 47.62 kB / 0.5712 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/2.199, allocations: 3.883 MB / 0.575 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00313/2.202, allocations: 1.255 MB / 0.5762 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/2.202, allocations: 0 / 0.5762 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/2.202, allocations: 11.97 kB / 0.5762 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007255/2.209, allocations: 2.596 MB / 0.5788 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.209, allocations: 0 / 0.5788 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/2.21, allocations: 103.7 kB / 0.5789 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/2.212, allocations: 0.8596 MB / 0.5797 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/2.212, allocations: 24.61 kB / 0.5797 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/2.215, allocations: 1.495 MB / 0.5812 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/2.215, allocations: 0 / 0.5812 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/2.22, allocations: 1.476 MB / 0.5826 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/2.22, allocations: 74.5 kB / 0.5827 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/2.22, allocations: 39.77 kB / 0.5828 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/2.22, allocations: 27.92 kB / 0.5828 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/2.221, allocations: 52.89 kB / 0.5828 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/2.221, allocations: 32.98 kB / 0.5829 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003964/2.221, allocations: 327.1 kB / 0.5832 GB, free: 12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.221, allocations: 4 kB / 0.5832 GB, free: 12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00268/2.224, allocations: 1.064 MB / 0.5842 GB, free: 10.93 MB / 0.5294 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.004769/2.228, allocations: 1.334 MB / 0.5855 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002321/2.231, allocations: 1.085 MB / 0.5866 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.231, allocations: 0 / 0.5866 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/2.232, allocations: 480.8 kB / 0.587 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/2.234, allocations: 408.3 kB / 0.5874 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/2.237, allocations: 1.536 MB / 0.5889 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/2.237, allocations: 400.6 kB / 0.5893 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002315/2.238, allocations: 61.98 kB / 0.5894 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/2.238, allocations: 44.5 kB / 0.5894 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/2.238, allocations: 0 / 0.5894 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.07089/2.309, allocations: 46.66 MB / 0.635 GB, free: 7.402 MB / 0.5762 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: 8.920754250138998] Failed to read output from testmodel.py, exit status != 0: 2.692845147103071 2.700847345 0.717387674 Calling exit ...