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.8151/0.8151, allocations: 150.9 MB / 167.1 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003761, allocations: 11.98 kB / 205.9 MB, free: 9.082 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 31.33 MB / 237.3 MB, free: 5.754 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.593/1.741, allocations: 296.2 MB / 0.521 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02676/1.768, allocations: 23.07 MB / 0.5435 GB, free: 4.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005048/1.769, allocations: 8 kB / 0.5435 GB, free: 4.695 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.0005646/1.769, allocations: 192 kB / 0.5437 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007469/1.77, allocations: 369.3 kB / 0.544 GB, free: 4.148 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.01787/1.788, allocations: 7.277 MB / 0.5511 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002573/1.791, allocations: 2.553 MB / 0.5536 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/1.791, allocations: 0.6817 MB / 0.5543 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008349/1.792, allocations: 0.8844 MB / 0.5552 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009791/1.793, allocations: 0.8645 MB / 0.556 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/1.793, allocations: 120 kB / 0.5561 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02442/1.818, allocations: 15.45 MB / 0.5712 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006856/1.818, allocations: 482.7 kB / 0.5717 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.819, allocations: 0.7544 MB / 0.5724 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01462/1.834, allocations: 7.904 MB / 0.5801 GB, free: 15.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.834, allocations: 0 / 0.5801 GB, free: 15.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.834, allocations: 0 / 0.5801 GB, free: 15.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/1.834, allocations: 0 / 0.5801 GB, free: 15.18 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.006925/1.841, allocations: 2.299 MB / 0.5824 GB, free: 12.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.841, allocations: 12.03 kB / 0.5824 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/1.841, allocations: 135.2 kB / 0.5825 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/1.842, allocations: 0.5732 MB / 0.5831 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/1.842, allocations: 94 kB / 0.5831 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/1.843, allocations: 107.9 kB / 0.5832 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/1.845, allocations: 1.958 MB / 0.5852 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.846, allocations: 0 / 0.5852 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.846, allocations: 47.94 kB / 0.5852 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/1.846, allocations: 75.94 kB / 0.5853 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/1.849, allocations: 1.906 MB / 0.5871 GB, free: 7.809 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.07631/1.925, allocations: 39.74 MB / 0.6259 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/1.928, allocations: 1.713 MB / 0.6276 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/1.929, allocations: 1.201 MB / 0.6288 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07141/2.001, allocations: 33.85 MB / 0.6618 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/2.001, allocations: 43.88 kB / 0.6619 GB, free: 4.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.827e-06/2.001, allocations: 0 / 0.6619 GB, free: 4.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.02984/2.031, allocations: 7.311 MB / 0.669 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/2.031, allocations: 68.72 kB / 0.6691 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/2.031, allocations: 349.5 kB / 0.6694 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/2.031, allocations: 53.64 kB / 0.6695 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/2.032, allocations: 279.7 kB / 0.6697 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006832/2.032, allocations: 0.9465 MB / 0.6707 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004998/2.033, allocations: 351.8 kB / 0.671 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001096/2.033, allocations: 326 kB / 0.6713 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/2.035, allocations: 1.023 MB / 0.6723 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/2.037, allocations: 1.212 MB / 0.6735 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/2.041, allocations: 2.456 MB / 0.6759 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/2.041, allocations: 4 kB / 0.6759 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006467/2.047, allocations: 3.744 MB / 0.6796 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/2.047, allocations: 4.188 kB / 0.6796 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/2.047, allocations: 8 kB / 0.6796 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01641/2.064, allocations: 4.825 MB / 0.6843 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/2.064, allocations: 27.94 kB / 0.6843 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/2.072, allocations: 4.893 MB / 0.6891 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/2.073, allocations: 189.7 kB / 0.6893 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/2.073, allocations: 63.94 kB / 0.6893 GB, free: 7.625 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.0005796/2.074, allocations: 374.2 kB / 0.6897 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/2.074, allocations: 98.59 kB / 0.6898 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1672/2.241, allocations: 10.91 MB / 0.7004 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005707/2.247, allocations: 4.022 MB / 0.7044 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/2.247, allocations: 6.344 kB / 0.7044 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/2.247, allocations: 14.44 kB / 0.7044 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/2.261, allocations: 7.96 MB / 0.7122 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/2.261, allocations: 1.734 kB / 0.7122 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/2.262, allocations: 357.6 kB / 0.7125 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/2.267, allocations: 1.917 MB / 0.7144 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/2.267, allocations: 70.05 kB / 0.7144 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/2.273, allocations: 6.906 MB / 0.7212 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/2.273, allocations: 0 / 0.7212 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/2.284, allocations: 6.196 MB / 0.7272 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/2.284, allocations: 264.9 kB / 0.7275 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/2.284, allocations: 64.48 kB / 0.7275 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/2.285, allocations: 81.42 kB / 0.7276 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/2.286, allocations: 168.6 kB / 0.7278 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/2.286, allocations: 84.62 kB / 0.7279 GB, free: 218.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003623/2.286, allocations: 396.1 kB / 0.7282 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.01e-07/2.286, allocations: 0.875 kB / 0.7282 GB, free: 218.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002815/2.289, allocations: 1.36 MB / 0.7296 GB, free: 218.1 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.003408/2.292, allocations: 1.25 MB / 0.7308 GB, free: 218 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006022/2.298, allocations: 4.021 MB / 0.7347 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/2.298, allocations: 0.6562 kB / 0.7347 GB, free: 215.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003453/2.302, allocations: 2.169 MB / 0.7368 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/2.305, allocations: 0.8739 MB / 0.7377 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/2.313, allocations: 5.116 MB / 0.7427 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/2.314, allocations: 1.541 MB / 0.7442 GB, free: 206.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000779/2.315, allocations: 320.5 kB / 0.7445 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/2.315, allocations: 103.4 kB / 0.7446 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/2.315, allocations: 0 / 0.7446 GB, free: 206.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.08299/2.398, allocations: 83.45 MB / 0.8261 GB, free: 124.4 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)