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.7708/0.7708, allocations: 150.8 MB / 166.1 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 19.98 kB / 204.2 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 31.33 MB / 235.6 MB, free: 5.402 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.532/1.674, allocations: 295.3 MB / 0.5184 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02595/1.7, allocations: 23.51 MB / 0.5414 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/1.701, allocations: 4 kB / 0.5414 GB, free: 4.645 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.0004843/1.701, allocations: 165.5 kB / 0.5415 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/1.702, allocations: 332.7 kB / 0.5419 GB, free: 4.16 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.01626/1.718, allocations: 6.384 MB / 0.5481 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/1.72, allocations: 2.545 MB / 0.5506 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/1.721, allocations: 0.6779 MB / 0.5512 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009462/1.722, allocations: 0.9002 MB / 0.5521 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009912/1.723, allocations: 0.9045 MB / 0.553 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/1.723, allocations: 120 kB / 0.5531 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02169/1.745, allocations: 15.3 MB / 0.5681 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005937/1.746, allocations: 482.7 kB / 0.5685 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.747, allocations: 0.7583 MB / 0.5693 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/1.76, allocations: 7.912 MB / 0.577 GB, free: 176 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.76, allocations: 7.984 kB / 0.577 GB, free: 168 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.76, allocations: 0 / 0.577 GB, free: 168 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/1.76, allocations: 0 / 0.577 GB, free: 168 kB / 462.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.006877/1.767, allocations: 2.299 MB / 0.5792 GB, free: 13.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.767, allocations: 8.031 kB / 0.5792 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/1.767, allocations: 216.8 kB / 0.5795 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/1.767, allocations: 135.2 kB / 0.5796 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/1.768, allocations: 0.573 MB / 0.5801 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.351e-05/1.768, allocations: 94 kB / 0.5802 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/1.768, allocations: 104 kB / 0.5803 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/1.771, allocations: 1.966 MB / 0.5823 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.771, allocations: 3.938 kB / 0.5823 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.771, allocations: 47.88 kB / 0.5823 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/1.771, allocations: 79.92 kB / 0.5824 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/1.774, allocations: 1.902 MB / 0.5842 GB, free: 8.57 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.07138/1.846, allocations: 39.55 MB / 0.6229 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/1.848, allocations: 1.709 MB / 0.6245 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/1.85, allocations: 1.19 MB / 0.6257 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06444/1.914, allocations: 33.61 MB / 0.6585 GB, free: 5.328 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/1.915, allocations: 51.86 kB / 0.6586 GB, free: 5.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.978e-06/1.915, allocations: 0 / 0.6586 GB, free: 5.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03125/1.946, allocations: 7.311 MB / 0.6657 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.946, allocations: 68.72 kB / 0.6658 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/1.946, allocations: 353.5 kB / 0.6661 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.946, allocations: 49.7 kB / 0.6662 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/1.947, allocations: 271.8 kB / 0.6664 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/1.947, allocations: 0.9543 MB / 0.6673 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004875/1.948, allocations: 339.8 kB / 0.6677 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.948, allocations: 326 kB / 0.668 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.95, allocations: 1.026 MB / 0.669 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/1.951, allocations: 1.216 MB / 0.6702 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/1.955, allocations: 2.452 MB / 0.6726 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.955, allocations: 4 kB / 0.6726 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006148/1.961, allocations: 3.748 MB / 0.6762 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.961, allocations: 8 kB / 0.6762 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.962, allocations: 0 / 0.6762 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01581/1.977, allocations: 4.839 MB / 0.681 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.977, allocations: 39.86 kB / 0.681 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008357/1.986, allocations: 4.893 MB / 0.6858 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.987, allocations: 185.7 kB / 0.686 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/1.987, allocations: 63.95 kB / 0.686 GB, free: 8.812 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.0006102/1.988, allocations: 369.6 kB / 0.6864 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/1.988, allocations: 102.6 kB / 0.6865 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1654/2.153, allocations: 10.92 MB / 0.6971 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005644/2.159, allocations: 4.018 MB / 0.7011 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/2.159, allocations: 4.688 kB / 0.7011 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/2.159, allocations: 15.97 kB / 0.7011 GB, free: 226 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/2.172, allocations: 8.261 MB / 0.7091 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/2.172, allocations: 0 / 0.7091 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/2.174, allocations: 354.5 kB / 0.7095 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003923/2.178, allocations: 1.915 MB / 0.7113 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/2.178, allocations: 68.34 kB / 0.7114 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/2.184, allocations: 6.907 MB / 0.7182 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.184, allocations: 0.5 kB / 0.7182 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/2.194, allocations: 6.203 MB / 0.7242 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/2.194, allocations: 266.3 kB / 0.7245 GB, free: 219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/2.195, allocations: 68.92 kB / 0.7245 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/2.196, allocations: 91.72 kB / 0.7246 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/2.196, allocations: 177.8 kB / 0.7248 GB, free: 218.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/2.196, allocations: 82.09 kB / 0.7249 GB, free: 218.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003324/2.196, allocations: 393.6 kB / 0.7252 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/2.196, allocations: 0 / 0.7252 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002556/2.199, allocations: 1.356 MB / 0.7266 GB, free: 218.5 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.01369/2.213, allocations: 7.902 MB / 0.7343 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01166/2.224, allocations: 6.505 MB / 0.7406 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/2.224, allocations: 5.688 kB / 0.7406 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/2.228, allocations: 2.17 MB / 0.7428 GB, free: 206.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/2.231, allocations: 0.8917 MB / 0.7436 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/2.254, allocations: 18.41 MB / 0.7616 GB, free: 187 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/2.255, allocations: 1.533 MB / 0.7631 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008593/2.255, allocations: 314.5 kB / 0.7634 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/2.256, allocations: 0.696 MB / 0.7641 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/2.256, allocations: 0 / 0.7641 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/2.364, allocations: 101.9 MB / 0.8636 GB, free: 84.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/2.364, allocations: 256.4 kB / 0.8638 GB, free: 83.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.278/7.643, allocations: 0 / 0.8638 GB, free: 83.76 MB / 0.5762 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)