Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.9212/0.9212, allocations: 152.6 MB / 171.4 MB, free: 6.012 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.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005491/0.0005491, allocations: 11.97 kB / 248.5 MB, free: 5.656 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 33.07 MB / 281.6 MB, free: 3.566 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.TestDynamicWaterWaterExchanger): time 1.573/1.729, allocations: 302.8 MB / 0.5707 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2481/1.977, allocations: 23.18 MB / 0.5933 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/1.978, allocations: 9.906 kB / 0.5933 GB, free: 12.73 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48: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/DynamicWaterWaterExchanger.mo:119:3-120:48: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/DynamicWaterWaterExchanger.mo:121:3-122:46: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/DynamicWaterWaterExchanger.mo:123:3-124:46: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.0004699/1.978, allocations: 223.2 kB / 0.5935 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/1.979, allocations: 426.1 kB / 0.5939 GB, free: 12.54 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.01735/1.996, allocations: 7.37 MB / 0.6011 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/1.998, allocations: 2.569 MB / 0.6036 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005416/1.999, allocations: 0.602 MB / 0.6042 GB, free: 8.625 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/2, allocations: 0.8884 MB / 0.6051 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/2.001, allocations: 0.8772 MB / 0.606 GB, free: 7.633 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/2.001, allocations: 122.3 kB / 0.6061 GB, free: 7.633 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02483/2.026, allocations: 15.46 MB / 0.6212 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007466/2.026, allocations: 494.6 kB / 0.6216 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/2.028, allocations: 0.7474 MB / 0.6224 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/2.043, allocations: 7.929 MB / 0.6301 GB, free: 2.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/2.043, allocations: 0.75 kB / 0.6301 GB, free: 2.254 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/2.043, allocations: 0 / 0.6301 GB, free: 2.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/2.043, allocations: 6.125 kB / 0.6301 GB, free: 2.25 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.007426/2.05, allocations: 2.277 MB / 0.6324 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/2.05, allocations: 8.031 kB / 0.6324 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/2.051, allocations: 141.2 kB / 0.6325 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/2.052, allocations: 0.5169 MB / 0.633 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/2.052, allocations: 99.19 kB / 0.6331 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/2.052, allocations: 108 kB / 0.6332 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/2.056, allocations: 1.971 MB / 0.6351 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/2.056, allocations: 3.938 kB / 0.6351 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/2.056, allocations: 46.81 kB / 0.6352 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-05/2.056, allocations: 67.94 kB / 0.6352 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/2.06, allocations: 1.912 MB / 0.6371 GB, free: 10.98 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.08277/2.142, allocations: 26.03 MB / 0.6625 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/2.145, allocations: 1.526 MB / 0.664 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/2.147, allocations: 1.045 MB / 0.665 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07714/2.224, allocations: 20.66 MB / 0.6852 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/2.224, allocations: 43.88 kB / 0.6852 GB, free: 9.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.808e-06/2.224, allocations: 0 / 0.6852 GB, free: 9.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.0319/2.256, allocations: 6.936 MB / 0.692 GB, free: 2.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/2.256, allocations: 76.64 kB / 0.6921 GB, free: 2.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/2.257, allocations: 345.7 kB / 0.6924 GB, free: 1.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/2.257, allocations: 49.7 kB / 0.6925 GB, free: 1.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/2.257, allocations: 292.2 kB / 0.6928 GB, free: 1.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008797/2.258, allocations: 1.007 MB / 0.6937 GB, free: 432 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/2.259, allocations: 339.9 kB / 0.6941 GB, free: 88 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001673/2.259, allocations: 326.9 kB / 0.6944 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/2.261, allocations: 1.028 MB / 0.6954 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/2.263, allocations: 1.22 MB / 0.6966 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004557/2.267, allocations: 2.464 MB / 0.699 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/2.267, allocations: 0 / 0.699 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007163/2.275, allocations: 3.613 MB / 0.7025 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/2.275, allocations: 15.92 kB / 0.7025 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/2.275, allocations: 4 kB / 0.7025 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01794/2.293, allocations: 4.824 MB / 0.7072 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/2.293, allocations: 37.14 kB / 0.7073 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/2.303, allocations: 4.902 MB / 0.7121 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/2.304, allocations: 194.4 kB / 0.7122 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/2.304, allocations: 59.94 kB / 0.7123 GB, free: 13.27 MB / 0.5762 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 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0006589/2.304, allocations: 366.3 kB / 0.7126 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/2.305, allocations: 107.2 kB / 0.7127 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/2.319, allocations: 10.81 MB / 0.7233 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007171/2.326, allocations: 3.948 MB / 0.7272 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/2.326, allocations: 1.5 kB / 0.7272 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/2.326, allocations: 15.95 kB / 0.7272 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/2.344, allocations: 7.912 MB / 0.7349 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/2.344, allocations: 4 kB / 0.7349 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/2.345, allocations: 355.6 kB / 0.7352 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005093/2.35, allocations: 1.931 MB / 0.7371 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/2.35, allocations: 72.45 kB / 0.7372 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008979/2.359, allocations: 6.738 MB / 0.7438 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/2.359, allocations: 8 kB / 0.7438 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/2.373, allocations: 6.174 MB / 0.7498 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/2.373, allocations: 190.2 kB / 0.75 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/2.373, allocations: 71.75 kB / 0.7501 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/2.374, allocations: 67.97 kB / 0.7501 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/2.375, allocations: 183.1 kB / 0.7503 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/2.375, allocations: 88.78 kB / 0.7504 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005122/2.376, allocations: 391.1 kB / 0.7508 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/2.376, allocations: 0 / 0.7508 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003278/2.379, allocations: 1.369 MB / 0.7521 GB, free: 3.805 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003958/2.383, allocations: 1.245 MB / 0.7533 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008042/2.391, allocations: 3.827 MB / 0.757 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/2.391, allocations: 0 / 0.757 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004553/2.395, allocations: 2.016 MB / 0.759 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/2.4, allocations: 0.8833 MB / 0.7599 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/2.41, allocations: 5.21 MB / 0.765 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/2.411, allocations: 1.534 MB / 0.7665 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008983/2.412, allocations: 314.9 kB / 0.7668 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/2.412, allocations: 107.4 kB / 0.7669 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of SimCode: time 7.32e-07/2.412, allocations: 0 / 0.7669 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of Templates: time 0.2891/2.701, allocations: 88.05 MB / 0.8529 GB, free: 300.2 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.064542311243713] Failed to read output from testmodel.py, exit status != 0: 2.8200903329998255 2.829243799 0.783917753 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa9567e17b0>