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.838/0.838, allocations: 150.9 MB / 166.5 MB, free: 14.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 19.94 kB / 237.1 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05714/0.05749, allocations: 31.35 MB / 268.5 MB, free: 7.055 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.601/1.658, allocations: 296.4 MB / 0.5516 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02639/1.685, allocations: 23.08 MB / 0.5741 GB, free: 4.273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/1.685, allocations: 8 kB / 0.5741 GB, free: 4.266 MB / 462.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.0005271/1.685, allocations: 202.5 kB / 0.5743 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006037/1.686, allocations: 365.6 kB / 0.5747 GB, free: 3.711 MB / 462.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.01651/1.703, allocations: 7.277 MB / 0.5818 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002411/1.705, allocations: 2.553 MB / 0.5843 GB, free: 9.867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006721/1.706, allocations: 0.6766 MB / 0.5849 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00082/1.707, allocations: 0.8727 MB / 0.5858 GB, free: 8.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009783/1.708, allocations: 0.8646 MB / 0.5866 GB, free: 7.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/1.708, allocations: 120 kB / 0.5867 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02455/1.732, allocations: 15.45 MB / 0.6018 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005898/1.733, allocations: 478.7 kB / 0.6023 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/1.734, allocations: 0.7544 MB / 0.603 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/1.748, allocations: 7.897 MB / 0.6107 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.748, allocations: 4 kB / 0.6107 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.748, allocations: 0 / 0.6107 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.748, allocations: 0 / 0.6107 GB, free: 14.7 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.006843/1.755, allocations: 2.307 MB / 0.613 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.755, allocations: 12.03 kB / 0.613 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/1.755, allocations: 135.2 kB / 0.6131 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/1.756, allocations: 0.5732 MB / 0.6137 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/1.756, allocations: 94 kB / 0.6138 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/1.756, allocations: 103.9 kB / 0.6139 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/1.759, allocations: 1.962 MB / 0.6158 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.759, allocations: 11.94 kB / 0.6158 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.759, allocations: 40 kB / 0.6158 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/1.759, allocations: 67.94 kB / 0.6159 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.762, allocations: 1.91 MB / 0.6178 GB, free: 7.324 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.07702/1.84, allocations: 39.75 MB / 0.6566 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.842, allocations: 1.709 MB / 0.6583 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/1.844, allocations: 1.193 MB / 0.6594 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07169/1.916, allocations: 33.85 MB / 0.6925 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.916, allocations: 43.88 kB / 0.6925 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=292): time 3.637e-06/1.916, allocations: 3.938 kB / 0.6925 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=292): time 0.03196/1.948, allocations: 7.318 MB / 0.6997 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.948, allocations: 64.72 kB / 0.6997 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/1.948, allocations: 361.4 kB / 0.7001 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/1.948, allocations: 49.7 kB / 0.7001 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.948, allocations: 275.7 kB / 0.7004 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/1.949, allocations: 0.9505 MB / 0.7013 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/1.95, allocations: 339.9 kB / 0.7016 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.95, allocations: 326 kB / 0.7019 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/1.952, allocations: 1.026 MB / 0.7029 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/1.953, allocations: 1.212 MB / 0.7041 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.957, allocations: 2.46 MB / 0.7065 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.957, allocations: 0 / 0.7065 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006439/1.964, allocations: 3.741 MB / 0.7102 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.964, allocations: 8 kB / 0.7102 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.964, allocations: 0 / 0.7102 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2839/2.248, allocations: 4.825 MB / 0.7149 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/2.248, allocations: 32.69 kB / 0.7149 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009036/2.257, allocations: 4.895 MB / 0.7197 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.258, allocations: 185.8 kB / 0.7199 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/2.258, allocations: 65.73 kB / 0.72 GB, free: 133.3 MB / 0.5919 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.0005448/2.259, allocations: 372 kB / 0.7203 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/2.259, allocations: 105.7 kB / 0.7204 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009806/2.269, allocations: 10.91 MB / 0.7311 GB, free: 131.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005225/2.274, allocations: 4.023 MB / 0.735 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/2.274, allocations: 3.938 kB / 0.735 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/2.274, allocations: 15.28 kB / 0.735 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/2.288, allocations: 7.971 MB / 0.7428 GB, free: 124.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/2.288, allocations: 0 / 0.7428 GB, free: 124.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/2.289, allocations: 355.2 kB / 0.7431 GB, free: 124.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/2.293, allocations: 1.916 MB / 0.745 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/2.293, allocations: 70.95 kB / 0.7451 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005988/2.299, allocations: 6.896 MB / 0.7518 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.299, allocations: 2.625 kB / 0.7518 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/2.31, allocations: 6.199 MB / 0.7579 GB, free: 110.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/2.31, allocations: 270.4 kB / 0.7581 GB, free: 110.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/2.31, allocations: 67.69 kB / 0.7582 GB, free: 110.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/2.311, allocations: 71.95 kB / 0.7583 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/2.312, allocations: 173.9 kB / 0.7584 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/2.312, allocations: 79.95 kB / 0.7585 GB, free: 110 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003609/2.312, allocations: 395.1 kB / 0.7589 GB, free: 109.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/2.312, allocations: 0 / 0.7589 GB, free: 109.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002986/2.315, allocations: 1.352 MB / 0.7602 GB, free: 108.3 MB / 0.5919 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.003312/2.319, allocations: 1.256 MB / 0.7614 GB, free: 107.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005911/2.325, allocations: 4.018 MB / 0.7653 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.325, allocations: 0 / 0.7653 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/2.328, allocations: 2.183 MB / 0.7675 GB, free: 100.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/2.331, allocations: 0.8781 MB / 0.7683 GB, free: 100.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/2.338, allocations: 5.109 MB / 0.7733 GB, free: 95.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/2.339, allocations: 1.545 MB / 0.7748 GB, free: 93.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007385/2.34, allocations: 313.3 kB / 0.7751 GB, free: 93.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/2.34, allocations: 103.4 kB / 0.7752 GB, free: 93.05 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/2.34, allocations: 0 / 0.7752 GB, free: 93.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.08734/2.427, allocations: 84.41 MB / 0.8577 GB, free: 9.254 MB / 0.5919 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)