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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.787/0.787, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 17.16 kB / 236.6 MB, free: 2.008 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06077/0.06113, allocations: 31.35 MB / 267.9 MB, free: 7.535 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.554/1.615, allocations: 296.4 MB / 0.5511 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02751/1.643, allocations: 23.07 MB / 0.5736 GB, free: 4.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/1.643, allocations: 15.94 kB / 0.5736 GB, free: 4.18 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.0005245/1.644, allocations: 191.7 kB / 0.5738 GB, free: 3.992 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006194/1.644, allocations: 357.7 kB / 0.5742 GB, free: 3.641 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.01667/1.661, allocations: 7.292 MB / 0.5813 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002394/1.663, allocations: 2.553 MB / 0.5838 GB, free: 9.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006151/1.664, allocations: 0.6727 MB / 0.5844 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007803/1.665, allocations: 0.8727 MB / 0.5853 GB, free: 8.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/1.666, allocations: 0.8685 MB / 0.5861 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/1.666, allocations: 120 kB / 0.5863 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02363/1.69, allocations: 15.45 MB / 0.6013 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006431/1.69, allocations: 478.7 kB / 0.6018 GB, free: 7.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.691, allocations: 0.7622 MB / 0.6025 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/1.705, allocations: 7.901 MB / 0.6103 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.705, allocations: 0 / 0.6103 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.705, allocations: 0 / 0.6103 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.776e-05/1.705, allocations: 4 kB / 0.6103 GB, free: 14.62 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.007039/1.712, allocations: 2.299 MB / 0.6125 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.712, allocations: 12.03 kB / 0.6125 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/1.712, allocations: 216.8 kB / 0.6127 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/1.712, allocations: 131.2 kB / 0.6128 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/1.713, allocations: 0.573 MB / 0.6134 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/1.713, allocations: 94 kB / 0.6135 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.713, allocations: 107.9 kB / 0.6136 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/1.716, allocations: 1.962 MB / 0.6155 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.716, allocations: 11.94 kB / 0.6155 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.716, allocations: 43.98 kB / 0.6156 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/1.716, allocations: 71.94 kB / 0.6156 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/1.719, allocations: 1.906 MB / 0.6175 GB, free: 7.02 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.07372/1.793, allocations: 39.76 MB / 0.6563 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/1.795, allocations: 1.7 MB / 0.658 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/1.797, allocations: 1.197 MB / 0.6591 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06974/1.867, allocations: 33.85 MB / 0.6922 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/1.867, allocations: 47.88 kB / 0.6922 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=292): time 3.346e-06/1.867, allocations: 0 / 0.6922 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=292): time 0.03036/1.897, allocations: 7.318 MB / 0.6994 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.897, allocations: 64.72 kB / 0.6995 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/1.898, allocations: 357.5 kB / 0.6998 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.898, allocations: 49.7 kB / 0.6998 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/1.898, allocations: 275.7 kB / 0.7001 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/1.899, allocations: 0.9466 MB / 0.701 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005135/1.9, allocations: 343.8 kB / 0.7014 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.9, allocations: 326 kB / 0.7017 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/1.901, allocations: 1.026 MB / 0.7027 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.903, allocations: 1.212 MB / 0.7039 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/1.907, allocations: 2.456 MB / 0.7063 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.907, allocations: 4 kB / 0.7063 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006302/1.913, allocations: 3.737 MB / 0.7099 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.913, allocations: 8 kB / 0.7099 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.913, allocations: 3.984 kB / 0.7099 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1987/2.112, allocations: 4.824 MB / 0.7146 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/2.112, allocations: 36.91 kB / 0.7147 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/2.12, allocations: 4.899 MB / 0.7195 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/2.121, allocations: 186.6 kB / 0.7196 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/2.121, allocations: 64.14 kB / 0.7197 GB, free: 214 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.00053/2.122, allocations: 368.6 kB / 0.72 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/2.122, allocations: 104 kB / 0.7201 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009862/2.132, allocations: 10.91 MB / 0.7308 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005342/2.137, allocations: 4.018 MB / 0.7347 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/2.137, allocations: 0 / 0.7347 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/2.137, allocations: 14.95 kB / 0.7347 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/2.151, allocations: 7.975 MB / 0.7425 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/2.151, allocations: 0.5625 kB / 0.7425 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/2.152, allocations: 355.6 kB / 0.7429 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004056/2.156, allocations: 1.92 MB / 0.7447 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/2.156, allocations: 70.41 kB / 0.7448 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/2.162, allocations: 6.897 MB / 0.7515 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/2.162, allocations: 0 / 0.7515 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/2.173, allocations: 6.202 MB / 0.7576 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/2.174, allocations: 266.3 kB / 0.7578 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/2.174, allocations: 65.08 kB / 0.7579 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/2.175, allocations: 71.95 kB / 0.758 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/2.175, allocations: 165.9 kB / 0.7581 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/2.176, allocations: 83.94 kB / 0.7582 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004464/2.176, allocations: 404.8 kB / 0.7586 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/2.176, allocations: 1.219 kB / 0.7586 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003557/2.18, allocations: 1.356 MB / 0.7599 GB, free: 192.9 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.01544/2.195, allocations: 7.887 MB / 0.7676 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006272/2.201, allocations: 4.031 MB / 0.7716 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.201, allocations: 0 / 0.7716 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/2.205, allocations: 2.169 MB / 0.7737 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/2.208, allocations: 0.8863 MB / 0.7746 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/2.233, allocations: 17.52 MB / 0.7917 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008784/2.234, allocations: 1.535 MB / 0.7932 GB, free: 159 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008211/2.235, allocations: 315.1 kB / 0.7935 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006502/2.235, allocations: 0.6945 MB / 0.7941 GB, free: 158 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/2.235, allocations: 0 / 0.7941 GB, free: 158 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/2.355, allocations: 104.5 MB / 0.8962 GB, free: 55.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.97, allocations: 12.5 kB / 0.8962 GB, free: 55.12 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1)