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.8086/0.8086, allocations: 153.8 MB / 172.7 MB, free: 4.949 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.0004978/0.0004978, allocations: 11.98 kB / 249.8 MB, free: 4.445 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1608, allocations: 33.37 MB / 283.2 MB, free: 1.82 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.753/1.914, allocations: 309.2 MB / 0.5785 GB, free: 16.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02383/1.938, allocations: 23.29 MB / 0.6012 GB, free: 5.488 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/1.938, allocations: 6.219 kB / 0.6012 GB, free: 5.488 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.0006158/1.939, allocations: 220.8 kB / 0.6014 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008527/1.94, allocations: 426.2 kB / 0.6019 GB, free: 5.117 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.01823/1.958, allocations: 7.377 MB / 0.6091 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002648/1.961, allocations: 2.569 MB / 0.6116 GB, free: 360 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/1.962, allocations: 0.6009 MB / 0.6122 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/1.963, allocations: 0.8939 MB / 0.613 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/1.964, allocations: 0.8811 MB / 0.6139 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000239/1.965, allocations: 119.8 kB / 0.614 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03059/1.995, allocations: 15.47 MB / 0.6291 GB, free: 40 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008281/1.996, allocations: 486.8 kB / 0.6296 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/1.997, allocations: 0.7544 MB / 0.6303 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01702/2.014, allocations: 7.929 MB / 0.6381 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/2.014, allocations: 0.5938 kB / 0.6381 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/2.014, allocations: 0.75 kB / 0.6381 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.978e-05/2.014, allocations: 0 / 0.6381 GB, free: 6.852 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.008026/2.022, allocations: 2.293 MB / 0.6403 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/2.023, allocations: 8.031 kB / 0.6403 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/2.023, allocations: 216.8 kB / 0.6405 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/2.023, allocations: 140.5 kB / 0.6406 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009829/2.024, allocations: 0.5211 MB / 0.6412 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/2.024, allocations: 97.19 kB / 0.6412 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/2.024, allocations: 108.5 kB / 0.6413 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/2.027, allocations: 1.973 MB / 0.6433 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/2.027, allocations: 0.75 kB / 0.6433 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/2.028, allocations: 44 kB / 0.6433 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.933e-05/2.028, allocations: 71 kB / 0.6434 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/2.031, allocations: 1.915 MB / 0.6453 GB, free: 15.35 MB / 0.5137 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.07749/2.108, allocations: 26.02 MB / 0.6707 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/2.111, allocations: 1.529 MB / 0.6722 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/2.113, allocations: 1.049 MB / 0.6732 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07181/2.185, allocations: 21.13 MB / 0.6938 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/2.185, allocations: 45.25 kB / 0.6939 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 3.426e-06/2.185, allocations: 0 / 0.6939 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=292): time 0.03084/2.216, allocations: 6.943 MB / 0.7006 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/2.216, allocations: 64.72 kB / 0.7007 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/2.216, allocations: 357.6 kB / 0.7011 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/2.216, allocations: 49.7 kB / 0.7011 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/2.216, allocations: 280.3 kB / 0.7014 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008315/2.217, allocations: 1.003 MB / 0.7023 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/2.218, allocations: 344.6 kB / 0.7027 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/2.218, allocations: 326 kB / 0.703 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/2.22, allocations: 1.026 MB / 0.704 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/2.222, allocations: 1.216 MB / 0.7052 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/2.226, allocations: 2.468 MB / 0.7076 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/2.226, allocations: 4 kB / 0.7076 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006783/2.233, allocations: 3.612 MB / 0.7111 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/2.233, allocations: 12.84 kB / 0.7111 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.233, allocations: 0 / 0.7111 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01689/2.25, allocations: 4.826 MB / 0.7158 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/2.25, allocations: 31.92 kB / 0.7159 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009312/2.259, allocations: 4.901 MB / 0.7207 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/2.26, allocations: 195.3 kB / 0.7208 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/2.261, allocations: 59.95 kB / 0.7209 GB, free: 1.129 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.0006787/2.261, allocations: 373.5 kB / 0.7213 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/2.261, allocations: 103.2 kB / 0.7214 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/2.275, allocations: 10.8 MB / 0.7319 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006531/2.281, allocations: 3.953 MB / 0.7358 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/2.281, allocations: 4 kB / 0.7358 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/2.281, allocations: 15.95 kB / 0.7358 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/2.298, allocations: 7.903 MB / 0.7435 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/2.298, allocations: 9 kB / 0.7435 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/2.3, allocations: 347.6 kB / 0.7438 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004818/2.304, allocations: 1.94 MB / 0.7457 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/2.305, allocations: 72.69 kB / 0.7458 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008182/2.313, allocations: 6.731 MB / 0.7524 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.313, allocations: 4.062 kB / 0.7524 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/2.326, allocations: 6.167 MB / 0.7584 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/2.326, allocations: 198.1 kB / 0.7586 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/2.327, allocations: 63.83 kB / 0.7587 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/2.328, allocations: 71.95 kB / 0.7587 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003506/2.328, allocations: 177.8 kB / 0.7589 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/2.328, allocations: 89.08 kB / 0.759 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005134/2.329, allocations: 391.1 kB / 0.7594 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/2.329, allocations: 3.938 kB / 0.7594 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004003/2.333, allocations: 1.38 MB / 0.7607 GB, free: 7.668 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.01766/2.35, allocations: 7.88 MB / 0.7684 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008071/2.358, allocations: 3.843 MB / 0.7722 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/2.358, allocations: 0 / 0.7722 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/2.363, allocations: 2.012 MB / 0.7741 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/2.367, allocations: 0.8826 MB / 0.775 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/2.397, allocations: 17.38 MB / 0.7919 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/2.398, allocations: 1.534 MB / 0.7934 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009641/2.399, allocations: 315.2 kB / 0.7937 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/2.4, allocations: 0.6945 MB / 0.7944 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/2.4, allocations: 4 kB / 0.7944 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3656/2.766, allocations: 107.6 MB / 0.8995 GB, free: 252.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.82/22.59, allocations: 15.66 kB / 0.8995 GB, free: 252.3 MB / 0.6856 GB " [Timeout remaining time 637] (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: 25.722520236000037] Failed to read output from testmodel.py, exit status != 0: 22.90256877999991 22.912881762 20.896056603 Calling exit ...