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) 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=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8007/0.8007, allocations: 150.9 MB / 166.4 MB, free: 14.24 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 15.97 kB / 204.5 MB, free: 9.637 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 31.32 MB / 235.9 MB, free: 5.453 MB / 190.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.545/1.689, allocations: 296.4 MB / 0.5198 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02617/1.715, allocations: 23.08 MB / 0.5423 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/1.716, allocations: 8 kB / 0.5423 GB, free: 4.766 MB / 430.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.0004915/1.716, allocations: 184.5 kB / 0.5425 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005842/1.717, allocations: 368.3 kB / 0.5428 GB, free: 4.227 MB / 430.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.01618/1.733, allocations: 7.28 MB / 0.5499 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002432/1.736, allocations: 2.545 MB / 0.5524 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007342/1.736, allocations: 0.6845 MB / 0.5531 GB, free: 9.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009014/1.737, allocations: 0.8688 MB / 0.5539 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00097/1.738, allocations: 0.8646 MB / 0.5548 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001837/1.738, allocations: 120 kB / 0.5549 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02297/1.761, allocations: 15.22 MB / 0.5698 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006337/1.762, allocations: 478.7 kB / 0.5702 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009815/1.763, allocations: 0.7621 MB / 0.571 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01395/1.777, allocations: 7.897 MB / 0.5787 GB, free: 15.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.777, allocations: 0 / 0.5787 GB, free: 15.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/1.777, allocations: 0 / 0.5787 GB, free: 15.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.596e-05/1.777, allocations: 0 / 0.5787 GB, free: 15.5 MB / 478.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.007234/1.784, allocations: 2.303 MB / 0.5809 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.785, allocations: 12.03 kB / 0.5809 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/1.785, allocations: 135.2 kB / 0.5811 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/1.786, allocations: 0.5731 MB / 0.5816 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.786, allocations: 94 kB / 0.5817 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/1.786, allocations: 104 kB / 0.5818 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/1.789, allocations: 1.966 MB / 0.5837 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.789, allocations: 4 kB / 0.5837 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.789, allocations: 40 kB / 0.5838 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/1.789, allocations: 71.94 kB / 0.5839 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/1.792, allocations: 1.906 MB / 0.5857 GB, free: 8.133 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.08031/1.873, allocations: 39.55 MB / 0.6243 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/1.875, allocations: 1.708 MB / 0.626 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/1.877, allocations: 1.201 MB / 0.6272 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07418/1.951, allocations: 33.61 MB / 0.66 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.951, allocations: 43.88 kB / 0.66 GB, free: 4.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.536e-06/1.951, allocations: 0 / 0.66 GB, free: 4.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.02966/1.981, allocations: 7.311 MB / 0.6672 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.981, allocations: 68.72 kB / 0.6673 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/1.982, allocations: 353.6 kB / 0.6676 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/1.982, allocations: 45.7 kB / 0.6676 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/1.982, allocations: 279.6 kB / 0.6679 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/1.983, allocations: 0.9505 MB / 0.6688 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005209/1.983, allocations: 343.8 kB / 0.6692 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.983, allocations: 330 kB / 0.6695 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.985, allocations: 1.03 MB / 0.6705 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/1.987, allocations: 1.208 MB / 0.6717 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/1.991, allocations: 2.456 MB / 0.6741 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.991, allocations: 4 kB / 0.6741 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006653/1.998, allocations: 3.741 MB / 0.6777 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.998, allocations: 9.719 kB / 0.6777 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.998, allocations: 0 / 0.6777 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/2.015, allocations: 4.853 MB / 0.6825 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/2.015, allocations: 31.92 kB / 0.6825 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008771/2.024, allocations: 4.889 MB / 0.6873 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/2.025, allocations: 189.7 kB / 0.6874 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/2.025, allocations: 63.94 kB / 0.6875 GB, free: 8.359 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.0006093/2.026, allocations: 370.3 kB / 0.6879 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/2.026, allocations: 102.6 kB / 0.688 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1623/2.188, allocations: 10.91 MB / 0.6986 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006188/2.195, allocations: 4.024 MB / 0.7025 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/2.195, allocations: 5.875 kB / 0.7025 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/2.195, allocations: 13.73 kB / 0.7026 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/2.209, allocations: 8.266 MB / 0.7106 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/2.209, allocations: 0.6094 kB / 0.7106 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/2.21, allocations: 353.6 kB / 0.711 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/2.214, allocations: 1.915 MB / 0.7128 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/2.214, allocations: 71.59 kB / 0.7129 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006208/2.221, allocations: 6.903 MB / 0.7197 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/2.221, allocations: 0 / 0.7197 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/2.232, allocations: 6.198 MB / 0.7257 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/2.232, allocations: 275 kB / 0.726 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/2.232, allocations: 67.55 kB / 0.726 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/2.233, allocations: 74.94 kB / 0.7261 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/2.234, allocations: 167.8 kB / 0.7263 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/2.234, allocations: 80.34 kB / 0.7263 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003622/2.234, allocations: 399.4 kB / 0.7267 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/2.234, allocations: 2.375 kB / 0.7267 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002703/2.237, allocations: 1.356 MB / 0.728 GB, free: 217.9 MB / 0.5762 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.00398/2.241, allocations: 1.251 MB / 0.7293 GB, free: 217.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0125/2.253, allocations: 6.527 MB / 0.7356 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.254, allocations: 3.562 kB / 0.7356 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003581/2.257, allocations: 2.165 MB / 0.7378 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/2.261, allocations: 0.8883 MB / 0.7386 GB, free: 211.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007843/2.269, allocations: 5.16 MB / 0.7437 GB, free: 206.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/2.269, allocations: 1.538 MB / 0.7452 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008936/2.27, allocations: 312.6 kB / 0.7455 GB, free: 204.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/2.271, allocations: 107.4 kB / 0.7456 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/2.271, allocations: 0 / 0.7456 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.08674/2.357, allocations: 83.61 MB / 0.8272 GB, free: 122.1 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile (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)