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.8226/0.8226, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 15.73 kB / 237.1 MB, free: 1.941 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05155/0.05187, allocations: 31.35 MB / 268.5 MB, free: 7.152 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.614/1.666, allocations: 296.5 MB / 0.5517 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02777/1.694, allocations: 23.08 MB / 0.5742 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/1.694, allocations: 4 kB / 0.5742 GB, free: 4.41 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.0005495/1.695, allocations: 201.6 kB / 0.5744 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006579/1.695, allocations: 361.7 kB / 0.5747 GB, free: 3.859 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.01771/1.713, allocations: 7.295 MB / 0.5819 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/1.716, allocations: 2.557 MB / 0.5844 GB, free: 9.992 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/1.717, allocations: 0.6649 MB / 0.585 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/1.718, allocations: 0.8844 MB / 0.5859 GB, free: 8.43 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/1.719, allocations: 0.8607 MB / 0.5867 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/1.719, allocations: 120 kB / 0.5868 GB, free: 7.449 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02672/1.746, allocations: 15.45 MB / 0.6019 GB, free: 7.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007723/1.747, allocations: 486.6 kB / 0.6024 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/1.748, allocations: 0.7505 MB / 0.6031 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/1.764, allocations: 7.918 MB / 0.6108 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.764, allocations: 8 kB / 0.6109 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.684e-06/1.764, allocations: 0 / 0.6109 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.963e-05/1.764, allocations: 0 / 0.6109 GB, free: 14.81 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.007435/1.772, allocations: 2.36 MB / 0.6132 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.772, allocations: 8.031 kB / 0.6132 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/1.772, allocations: 140 kB / 0.6133 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/1.773, allocations: 0.5733 MB / 0.6139 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/1.773, allocations: 98 kB / 0.614 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/1.773, allocations: 100 kB / 0.614 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/1.776, allocations: 1.977 MB / 0.616 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/1.776, allocations: 0 / 0.616 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/1.776, allocations: 40 kB / 0.616 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/1.777, allocations: 71.92 kB / 0.6161 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/1.78, allocations: 1.914 MB / 0.618 GB, free: 7.359 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.08169/1.862, allocations: 39.76 MB / 0.6568 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/1.864, allocations: 1.7 MB / 0.6584 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/1.866, allocations: 1.201 MB / 0.6596 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07679/1.943, allocations: 33.86 MB / 0.6927 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.943, allocations: 47.88 kB / 0.6927 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=292): time 3.456e-06/1.943, allocations: 3.938 kB / 0.6927 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=292): time 0.03016/1.973, allocations: 7.323 MB / 0.6999 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/1.973, allocations: 68.72 kB / 0.6999 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/1.974, allocations: 353.6 kB / 0.7003 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.974, allocations: 45.7 kB / 0.7003 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/1.974, allocations: 288.2 kB / 0.7006 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000782/1.975, allocations: 0.995 MB / 0.7016 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005517/1.976, allocations: 343.8 kB / 0.7019 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.976, allocations: 330 kB / 0.7022 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/1.978, allocations: 1.026 MB / 0.7032 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.98, allocations: 1.208 MB / 0.7044 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/1.984, allocations: 2.456 MB / 0.7068 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.984, allocations: 0 / 0.7068 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006866/1.991, allocations: 3.749 MB / 0.7105 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.991, allocations: 8 kB / 0.7105 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.991, allocations: 0 / 0.7105 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.197/2.188, allocations: 4.828 MB / 0.7152 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/2.188, allocations: 30.77 kB / 0.7152 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/2.196, allocations: 4.901 MB / 0.72 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/2.197, allocations: 186.4 kB / 0.7202 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/2.197, allocations: 65.39 kB / 0.7202 GB, free: 214.1 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.0006324/2.198, allocations: 371.8 kB / 0.7206 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/2.198, allocations: 110.7 kB / 0.7207 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/2.21, allocations: 10.91 MB / 0.7313 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005567/2.215, allocations: 4.011 MB / 0.7353 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/2.215, allocations: 6.625 kB / 0.7353 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/2.215, allocations: 12.28 kB / 0.7353 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/2.229, allocations: 7.996 MB / 0.7431 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/2.229, allocations: 3.938 kB / 0.7431 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/2.23, allocations: 351.3 kB / 0.7434 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004005/2.234, allocations: 1.915 MB / 0.7453 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002176/2.234, allocations: 69.38 kB / 0.7454 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006039/2.24, allocations: 6.908 MB / 0.7521 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.24, allocations: 2.734 kB / 0.7521 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/2.251, allocations: 6.202 MB / 0.7582 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/2.252, allocations: 274.8 kB / 0.7584 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/2.252, allocations: 67.44 kB / 0.7585 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/2.253, allocations: 71.67 kB / 0.7586 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/2.253, allocations: 177.8 kB / 0.7587 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/2.253, allocations: 81.33 kB / 0.7588 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003723/2.254, allocations: 395.1 kB / 0.7592 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.12e-07/2.254, allocations: 0 / 0.7592 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002679/2.256, allocations: 1.371 MB / 0.7605 GB, free: 193 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.003769/2.26, allocations: 1.255 MB / 0.7618 GB, free: 192 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006213/2.266, allocations: 4.031 MB / 0.7657 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.266, allocations: 0 / 0.7657 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/2.27, allocations: 2.184 MB / 0.7678 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/2.274, allocations: 0.88 MB / 0.7687 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007821/2.282, allocations: 5.158 MB / 0.7737 GB, free: 179.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/2.282, allocations: 1.539 MB / 0.7752 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008403/2.283, allocations: 318.1 kB / 0.7755 GB, free: 177.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/2.283, allocations: 107.4 kB / 0.7756 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/2.283, allocations: 0 / 0.7756 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.08476/2.368, allocations: 84.42 MB / 0.8581 GB, free: 94.76 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)