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.595/0.595, allocations: 120.4 MB / 139.5 MB, free: 12.99 MB / 138.7 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 2.965e-06/2.965e-06, allocations: 0 / 216.7 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.66e-05, allocations: 2.281 kB / 216.7 MB, free: 8.609 MB / 202.7 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.031/1.031, allocations: 255.7 MB / 472.4 MB, free: 8.266 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0199/1.051, allocations: 20.76 MB / 493.2 MB, free: 3.426 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/1.052, allocations: 4 kB / 493.2 MB, free: 3.422 MB / 442.7 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.0005146/1.052, allocations: 202.6 kB / 493.4 MB, free: 3.223 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006961/1.053, allocations: 441.2 kB / 493.8 MB, free: 2.789 MB / 442.7 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.01495/1.068, allocations: 7.325 MB / 0.4894 GB, free: 11.44 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002072/1.07, allocations: 2.618 MB / 0.492 GB, free: 8.812 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/1.071, allocations: 0.6066 MB / 0.4925 GB, free: 8.195 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/1.072, allocations: 1.252 MB / 0.4938 GB, free: 6.941 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008002/1.073, allocations: 0.7835 MB / 0.4945 GB, free: 6.156 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/1.073, allocations: 120 kB / 0.4947 GB, free: 6.039 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01814/1.091, allocations: 14.54 MB / 0.5088 GB, free: 7.484 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/1.092, allocations: 0.4948 MB / 0.5093 GB, free: 6.988 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008103/1.092, allocations: 0.5418 MB / 0.5099 GB, free: 6.445 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2772/1.37, allocations: 10.06 MB / 0.5197 GB, free: 22.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.37, allocations: 0 / 0.5197 GB, free: 22.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.37, allocations: 1.469 kB / 0.5197 GB, free: 22.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.068e-05/1.37, allocations: 0 / 0.5197 GB, free: 22.93 MB / 474.7 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.008741/1.378, allocations: 2.265 MB / 0.5219 GB, free: 21.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/1.378, allocations: 9.875 kB / 0.5219 GB, free: 21.96 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003087/1.379, allocations: 218.8 kB / 0.5221 GB, free: 21.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/1.379, allocations: 140.2 kB / 0.5222 GB, free: 21.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008163/1.38, allocations: 0.5037 MB / 0.5227 GB, free: 21.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/1.38, allocations: 100.8 kB / 0.5228 GB, free: 21.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/1.38, allocations: 108.8 kB / 0.5229 GB, free: 21.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/1.383, allocations: 1.976 MB / 0.5249 GB, free: 21.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.383, allocations: 5.125 kB / 0.5249 GB, free: 21.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/1.383, allocations: 42.11 kB / 0.5249 GB, free: 21.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/1.383, allocations: 70.27 kB / 0.525 GB, free: 21.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/1.386, allocations: 1.915 MB / 0.5269 GB, free: 21.42 MB / 474.7 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.03854/1.424, allocations: 24.3 MB / 0.5506 GB, free: 12.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.426, allocations: 1.511 MB / 0.5521 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/1.427, allocations: 1.045 MB / 0.5531 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03491/1.461, allocations: 21.18 MB / 0.5738 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/1.462, allocations: 51.42 kB / 0.5738 GB, free: 4.262 MB / 490.7 MB Notification: Performance of pre-optimization done (n=292): time 6.272e-06/1.462, allocations: 0.5625 kB / 0.5738 GB, free: 4.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=292): time 0.01685/1.478, allocations: 6.945 MB / 0.5806 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.478, allocations: 64.72 kB / 0.5807 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/1.479, allocations: 357.5 kB / 0.581 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/1.479, allocations: 49.7 kB / 0.581 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/1.479, allocations: 286.3 kB / 0.5813 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000608/1.48, allocations: 0.9896 MB / 0.5823 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/1.48, allocations: 343.8 kB / 0.5826 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.48, allocations: 329.9 kB / 0.5829 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/1.481, allocations: 1.026 MB / 0.5839 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.483, allocations: 1.216 MB / 0.5851 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/1.486, allocations: 2.469 MB / 0.5875 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.486, allocations: 0 / 0.5875 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004347/1.49, allocations: 3.617 MB / 0.5911 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.49, allocations: 4 kB / 0.5911 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.49, allocations: 7.469 kB / 0.5911 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008518/1.498, allocations: 4.811 MB / 0.5958 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.499, allocations: 41.36 kB / 0.5958 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/1.504, allocations: 4.899 MB / 0.6006 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009087/1.505, allocations: 188.5 kB / 0.6008 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/1.505, allocations: 60.14 kB / 0.6008 GB, free: 8.457 MB / 0.5105 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.0006522/1.506, allocations: 382.8 kB / 0.6012 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/1.506, allocations: 107.2 kB / 0.6013 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008613/1.515, allocations: 10.8 MB / 0.6118 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00419/1.519, allocations: 3.959 MB / 0.6157 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.519, allocations: 4 kB / 0.6157 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/1.519, allocations: 11.95 kB / 0.6157 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.529, allocations: 7.6 MB / 0.6231 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.529, allocations: 0.9375 kB / 0.6231 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/1.53, allocations: 358.1 kB / 0.6235 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/1.533, allocations: 1.929 MB / 0.6254 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/1.533, allocations: 71.94 kB / 0.6254 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005323/1.538, allocations: 6.72 MB / 0.632 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.538, allocations: 0 / 0.632 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007848/1.546, allocations: 6.169 MB / 0.638 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/1.546, allocations: 198.1 kB / 0.6382 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/1.547, allocations: 67.83 kB / 0.6383 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/1.547, allocations: 67.97 kB / 0.6383 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.547, allocations: 185.8 kB / 0.6385 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.547, allocations: 84.81 kB / 0.6386 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003537/1.548, allocations: 391.1 kB / 0.639 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/1.548, allocations: 0 / 0.639 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004641/1.552, allocations: 1.373 MB / 0.6403 GB, free: 15.55 MB / 0.5573 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.01319/1.566, allocations: 8.019 MB / 0.6481 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00532/1.571, allocations: 3.833 MB / 0.6519 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.571, allocations: 0 / 0.6519 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.574, allocations: 2.015 MB / 0.6539 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.576, allocations: 0.8852 MB / 0.6547 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/1.6, allocations: 17.25 MB / 0.6716 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/1.6, allocations: 0.9538 MB / 0.6725 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008039/1.601, allocations: 315.2 kB / 0.6728 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/1.602, allocations: 0.6956 MB / 0.6735 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/1.602, allocations: 2.406 kB / 0.6735 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.314/1.916, allocations: 99.54 MB / 0.7707 GB, free: 291 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.86, allocations: 1.094 kB / 0.7707 GB, free: 291 MB / 0.6667 GB " [Timeout remaining time 644] (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: 17.65915180556476] Failed to read output from testmodel.py, exit status != 0: 16.25140566471964 16.147361524 14.77621093 Calling exit ...