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.8323/0.8323, allocations: 153.8 MB / 172.7 MB, free: 4.895 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.0005056/0.0005056, allocations: 11.97 kB / 249.8 MB, free: 4.406 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1794, allocations: 33.35 MB / 283.2 MB, free: 1.918 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.876/2.056, allocations: 309 MB / 0.5782 GB, free: 17.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02319/2.079, allocations: 20.77 MB / 0.5985 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005681/2.079, allocations: 6.188 kB / 0.5985 GB, free: 8.328 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.0005728/2.08, allocations: 195.8 kB / 0.5987 GB, free: 8.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007192/2.081, allocations: 431.2 kB / 0.5991 GB, free: 7.973 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.01854/2.099, allocations: 7.263 MB / 0.6062 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002627/2.102, allocations: 2.56 MB / 0.6087 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/2.102, allocations: 0.6001 MB / 0.6093 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009441/2.103, allocations: 0.9029 MB / 0.6102 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009987/2.104, allocations: 0.8538 MB / 0.611 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/2.104, allocations: 122 kB / 0.6111 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02921/2.134, allocations: 14.52 MB / 0.6253 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00091/2.135, allocations: 486.7 kB / 0.6258 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/2.136, allocations: 0.6368 MB / 0.6264 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0186/2.154, allocations: 7.949 MB / 0.6342 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/2.154, allocations: 0 / 0.6342 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/2.154, allocations: 0 / 0.6342 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.562e-05/2.155, allocations: 0 / 0.6342 GB, free: 10.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.007632/2.162, allocations: 2.281 MB / 0.6364 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/2.162, allocations: 12.94 kB / 0.6364 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002703/2.162, allocations: 220.8 kB / 0.6366 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/2.163, allocations: 143.9 kB / 0.6368 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/2.164, allocations: 0.5099 MB / 0.6373 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/2.164, allocations: 95.78 kB / 0.6373 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/2.164, allocations: 106.6 kB / 0.6375 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/2.167, allocations: 1.971 MB / 0.6394 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/2.167, allocations: 0 / 0.6394 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/2.168, allocations: 40 kB / 0.6394 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/2.168, allocations: 76.83 kB / 0.6395 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/2.171, allocations: 1.913 MB / 0.6414 GB, free: 3.133 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.07639/2.247, allocations: 24.29 MB / 0.6651 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/2.25, allocations: 1.524 MB / 0.6666 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/2.252, allocations: 1.041 MB / 0.6676 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07314/2.325, allocations: 21.19 MB / 0.6883 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/2.325, allocations: 47.88 kB / 0.6883 GB, free: 2.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.767e-06/2.325, allocations: 0 / 0.6883 GB, free: 2.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.0293/2.354, allocations: 6.943 MB / 0.6951 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/2.354, allocations: 68.72 kB / 0.6952 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/2.355, allocations: 357.5 kB / 0.6955 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/2.355, allocations: 49.7 kB / 0.6956 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/2.355, allocations: 284.3 kB / 0.6958 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/2.356, allocations: 1.003 MB / 0.6968 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/2.357, allocations: 340.5 kB / 0.6971 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/2.357, allocations: 330 kB / 0.6974 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001921/2.359, allocations: 1.023 MB / 0.6984 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/2.361, allocations: 1.22 MB / 0.6996 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/2.366, allocations: 2.472 MB / 0.702 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/2.366, allocations: 4.5 kB / 0.7021 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006875/2.372, allocations: 3.608 MB / 0.7056 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/2.372, allocations: 4 kB / 0.7056 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/2.372, allocations: 9.031 kB / 0.7056 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/2.389, allocations: 4.823 MB / 0.7103 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/2.389, allocations: 35.92 kB / 0.7103 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009508/2.399, allocations: 4.906 MB / 0.7151 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/2.4, allocations: 194.4 kB / 0.7153 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/2.4, allocations: 59.89 kB / 0.7154 GB, free: 6.961 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.0007592/2.401, allocations: 366.6 kB / 0.7157 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/2.401, allocations: 107.2 kB / 0.7158 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/2.415, allocations: 10.8 MB / 0.7264 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006487/2.421, allocations: 3.96 MB / 0.7302 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/2.421, allocations: 4.688 kB / 0.7302 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/2.421, allocations: 15.95 kB / 0.7303 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/2.438, allocations: 7.597 MB / 0.7377 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/2.438, allocations: 0.7969 kB / 0.7377 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/2.439, allocations: 360.9 kB / 0.738 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004513/2.443, allocations: 1.931 MB / 0.7399 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/2.444, allocations: 76.97 kB / 0.74 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008308/2.452, allocations: 6.713 MB / 0.7465 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.452, allocations: 4.125 kB / 0.7465 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/2.465, allocations: 6.173 MB / 0.7526 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/2.465, allocations: 198.9 kB / 0.7528 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/2.465, allocations: 71.77 kB / 0.7528 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/2.466, allocations: 63.97 kB / 0.7529 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/2.467, allocations: 187.6 kB / 0.7531 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/2.467, allocations: 83.94 kB / 0.7531 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005349/2.467, allocations: 395.9 kB / 0.7535 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/2.467, allocations: 0 / 0.7535 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003917/2.471, allocations: 1.373 MB / 0.7549 GB, free: 13.82 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.01827/2.489, allocations: 7.87 MB / 0.7625 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008437/2.498, allocations: 3.844 MB / 0.7663 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/2.498, allocations: 1.688 kB / 0.7663 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004456/2.502, allocations: 2.02 MB / 0.7683 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004145/2.507, allocations: 0.8791 MB / 0.7691 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03468/2.541, allocations: 17.36 MB / 0.7861 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/2.543, allocations: 0.9596 MB / 0.787 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001246/2.544, allocations: 311.3 kB / 0.7873 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/2.545, allocations: 0.6945 MB / 0.788 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of SimCode: time 1.503e-06/2.545, allocations: 0 / 0.788 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3832/2.928, allocations: 99.9 MB / 0.8856 GB, free: 269.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/20.94, allocations: 3.984 kB / 0.8856 GB, free: 269.3 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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDynamicWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.155772351194173] Failed to read output from testmodel.py, exit status != 0: 21.313969749957323 21.335431475 19.176863014 Calling exit ...