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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8057/0.8057, allocations: 153.8 MB / 172.7 MB, free: 4.859 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005182, allocations: 15.98 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1752, allocations: 33.35 MB / 283.2 MB, free: 1.73 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.842/2.018, allocations: 309 MB / 0.5782 GB, free: 17.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02539/2.043, allocations: 20.77 MB / 0.5985 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/2.044, allocations: 6.625 kB / 0.5985 GB, free: 8.27 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0008283/2.045, allocations: 193.8 kB / 0.5987 GB, free: 8.184 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/2.046, allocations: 427.9 kB / 0.5991 GB, free: 7.918 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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.0201/2.066, allocations: 7.263 MB / 0.6062 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/2.069, allocations: 2.56 MB / 0.6087 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/2.069, allocations: 0.5995 MB / 0.6093 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009788/2.07, allocations: 0.8998 MB / 0.6102 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/2.071, allocations: 0.8589 MB / 0.611 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001977/2.071, allocations: 120.2 kB / 0.6111 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02873/2.1, allocations: 14.53 MB / 0.6253 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/2.101, allocations: 479.8 kB / 0.6258 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/2.102, allocations: 0.638 MB / 0.6264 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01901/2.121, allocations: 7.953 MB / 0.6342 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.121, allocations: 0 / 0.6342 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.464e-06/2.121, allocations: 0.7812 kB / 0.6342 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.808e-05/2.121, allocations: 0 / 0.6342 GB, free: 10.39 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.007675/2.129, allocations: 2.273 MB / 0.6364 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/2.129, allocations: 8.031 kB / 0.6364 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002601/2.129, allocations: 223.6 kB / 0.6366 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/2.13, allocations: 144.9 kB / 0.6368 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/2.131, allocations: 0.5165 MB / 0.6373 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/2.131, allocations: 94.56 kB / 0.6374 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/2.131, allocations: 108 kB / 0.6375 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/2.134, allocations: 1.968 MB / 0.6394 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/2.134, allocations: 0 / 0.6394 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/2.134, allocations: 44 kB / 0.6394 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-05/2.134, allocations: 74.02 kB / 0.6395 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/2.138, allocations: 1.914 MB / 0.6414 GB, free: 2.906 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.07529/2.213, allocations: 24.29 MB / 0.6651 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/2.216, allocations: 1.519 MB / 0.6666 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/2.217, allocations: 1.045 MB / 0.6676 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07314/2.29, allocations: 21.2 MB / 0.6883 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/2.29, allocations: 43.88 kB / 0.6883 GB, free: 2.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 4.989e-06/2.29, allocations: 0 / 0.6883 GB, free: 2.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03034/2.321, allocations: 6.939 MB / 0.6951 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/2.321, allocations: 64.72 kB / 0.6952 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/2.321, allocations: 361.5 kB / 0.6955 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/2.322, allocations: 53.7 kB / 0.6956 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/2.322, allocations: 284.3 kB / 0.6958 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/2.323, allocations: 1.003 MB / 0.6968 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007163/2.324, allocations: 335.9 kB / 0.6971 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/2.324, allocations: 330 kB / 0.6974 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/2.326, allocations: 1.026 MB / 0.6984 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/2.328, allocations: 1.22 MB / 0.6996 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/2.333, allocations: 2.468 MB / 0.702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/2.333, allocations: 0 / 0.702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007022/2.34, allocations: 3.613 MB / 0.7056 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/2.34, allocations: 8 kB / 0.7056 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/2.34, allocations: 0 / 0.7056 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/2.356, allocations: 4.832 MB / 0.7103 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/2.357, allocations: 35.92 kB / 0.7103 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/2.367, allocations: 4.901 MB / 0.7151 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/2.368, allocations: 194.4 kB / 0.7153 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/2.369, allocations: 60.66 kB / 0.7154 GB, free: 6.754 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.0008662/2.369, allocations: 369.5 kB / 0.7157 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/2.37, allocations: 107.8 kB / 0.7158 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/2.384, allocations: 10.8 MB / 0.7264 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006675/2.39, allocations: 3.959 MB / 0.7302 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/2.39, allocations: 4 kB / 0.7302 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/2.39, allocations: 11.95 kB / 0.7302 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/2.407, allocations: 7.602 MB / 0.7377 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/2.407, allocations: 0 / 0.7377 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/2.408, allocations: 359.5 kB / 0.738 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004515/2.413, allocations: 1.931 MB / 0.7399 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/2.413, allocations: 72.5 kB / 0.74 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008068/2.421, allocations: 6.721 MB / 0.7465 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/2.421, allocations: 0 / 0.7465 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/2.434, allocations: 6.174 MB / 0.7526 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/2.434, allocations: 194.1 kB / 0.7527 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/2.434, allocations: 73.16 kB / 0.7528 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/2.435, allocations: 67.97 kB / 0.7529 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/2.436, allocations: 190.3 kB / 0.7531 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/2.436, allocations: 79.94 kB / 0.7531 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005353/2.436, allocations: 395.1 kB / 0.7535 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/2.436, allocations: 0 / 0.7535 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003482/2.44, allocations: 1.373 MB / 0.7549 GB, free: 13.61 MB / 0.6231 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.0177/2.458, allocations: 7.879 MB / 0.7626 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007506/2.465, allocations: 3.841 MB / 0.7663 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/2.465, allocations: 0 / 0.7663 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00419/2.469, allocations: 2.016 MB / 0.7683 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/2.473, allocations: 0.8841 MB / 0.7691 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/2.505, allocations: 17.36 MB / 0.7861 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/2.506, allocations: 0.9572 MB / 0.787 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001023/2.507, allocations: 308.8 kB / 0.7873 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008961/2.508, allocations: 0.6945 MB / 0.788 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of SimCode: time 7.32e-07/2.508, allocations: 4 kB / 0.788 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3446/2.853, allocations: 99.89 MB / 0.8855 GB, free: 268.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/20.84, allocations: 11.97 kB / 0.8856 GB, free: 268.4 MB / 0.6856 GB " [Timeout remaining time 639] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.324153997004032] Failed to read output from testmodel.py, exit status != 0: 21.148002222180367 21.158393988 19.034525908 Calling exit ...