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.852/0.852, allocations: 150.9 MB / 166.5 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004959, allocations: 22.05 kB / 236.6 MB, free: 1.996 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05356/0.05408, allocations: 31.35 MB / 268 MB, free: 7.516 MB / 222.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.683/1.737, allocations: 297 MB / 0.5517 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03075/1.768, allocations: 23.07 MB / 0.5742 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/1.769, allocations: 4 kB / 0.5742 GB, free: 4.066 MB / 462.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.0006047/1.769, allocations: 202.5 kB / 0.5744 GB, free: 3.871 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008073/1.77, allocations: 357.7 kB / 0.5747 GB, free: 3.52 MB / 462.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.01833/1.788, allocations: 7.277 MB / 0.5818 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/1.791, allocations: 2.549 MB / 0.5843 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.793, allocations: 0.6805 MB / 0.585 GB, free: 8.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/1.794, allocations: 0.8766 MB / 0.5859 GB, free: 8.109 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/1.796, allocations: 0.8645 MB / 0.5867 GB, free: 7.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/1.796, allocations: 120 kB / 0.5868 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02924/1.825, allocations: 15.45 MB / 0.6019 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008002/1.826, allocations: 490.6 kB / 0.6024 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001381/1.827, allocations: 0.7466 MB / 0.6031 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/1.844, allocations: 7.922 MB / 0.6108 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/1.844, allocations: 4 kB / 0.6108 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.844, allocations: 0 / 0.6108 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.25e-05/1.844, allocations: 0 / 0.6108 GB, free: 14.48 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.007619/1.852, allocations: 2.361 MB / 0.6131 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.852, allocations: 12.02 kB / 0.6132 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002689/1.852, allocations: 212.8 kB / 0.6134 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/1.852, allocations: 140 kB / 0.6135 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008275/1.853, allocations: 0.577 MB / 0.6141 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/1.853, allocations: 97.98 kB / 0.6141 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/1.853, allocations: 104 kB / 0.6142 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/1.857, allocations: 1.969 MB / 0.6162 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/1.857, allocations: 0 / 0.6162 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.857, allocations: 40 kB / 0.6162 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/1.857, allocations: 71.94 kB / 0.6163 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/1.86, allocations: 1.906 MB / 0.6181 GB, free: 6.82 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.08461/1.945, allocations: 39.77 MB / 0.657 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/1.948, allocations: 1.704 MB / 0.6586 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/1.95, allocations: 1.197 MB / 0.6598 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07878/2.029, allocations: 33.86 MB / 0.6929 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/2.029, allocations: 43.88 kB / 0.6929 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=292): time 3.897e-06/2.029, allocations: 4 kB / 0.6929 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=292): time 0.03091/2.06, allocations: 7.311 MB / 0.7001 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/2.06, allocations: 68.7 kB / 0.7001 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/2.06, allocations: 353.6 kB / 0.7005 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/2.061, allocations: 53.7 kB / 0.7005 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/2.061, allocations: 284.3 kB / 0.7008 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009624/2.062, allocations: 1.003 MB / 0.7018 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005914/2.062, allocations: 339.8 kB / 0.7021 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001429/2.063, allocations: 330 kB / 0.7024 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/2.065, allocations: 1.026 MB / 0.7034 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/2.067, allocations: 1.204 MB / 0.7046 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/2.071, allocations: 2.464 MB / 0.707 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/2.071, allocations: 0 / 0.707 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007163/2.078, allocations: 3.749 MB / 0.7106 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/2.078, allocations: 13.55 kB / 0.7107 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/2.078, allocations: 7.984 kB / 0.7107 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1929/2.271, allocations: 4.82 MB / 0.7154 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/2.272, allocations: 30.83 kB / 0.7154 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/2.279, allocations: 4.9 MB / 0.7202 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/2.28, allocations: 191 kB / 0.7204 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/2.28, allocations: 62.72 kB / 0.7204 GB, free: 213.9 MB / 0.5919 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.0005388/2.281, allocations: 370 kB / 0.7208 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/2.281, allocations: 105.9 kB / 0.7209 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/2.292, allocations: 10.92 MB / 0.7315 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005799/2.298, allocations: 4.016 MB / 0.7355 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/2.298, allocations: 3.531 kB / 0.7355 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/2.298, allocations: 11.44 kB / 0.7355 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/2.312, allocations: 7.988 MB / 0.7433 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/2.312, allocations: 0 / 0.7433 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/2.313, allocations: 360.6 kB / 0.7436 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004385/2.318, allocations: 1.915 MB / 0.7455 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003985/2.318, allocations: 71.59 kB / 0.7456 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/2.324, allocations: 6.902 MB / 0.7523 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.324, allocations: 0.5 kB / 0.7523 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/2.336, allocations: 6.211 MB / 0.7584 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/2.336, allocations: 267.7 kB / 0.7586 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003339/2.336, allocations: 65.56 kB / 0.7587 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/2.337, allocations: 72.44 kB / 0.7588 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/2.338, allocations: 169.9 kB / 0.7589 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/2.338, allocations: 88.7 kB / 0.759 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003765/2.338, allocations: 399 kB / 0.7594 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/2.338, allocations: 0 / 0.7594 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002851/2.341, allocations: 1.366 MB / 0.7607 GB, free: 192.4 MB / 0.5919 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.01431/2.355, allocations: 7.919 MB / 0.7685 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006368/2.362, allocations: 4.035 MB / 0.7724 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.362, allocations: 0 / 0.7724 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003858/2.366, allocations: 2.173 MB / 0.7745 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/2.37, allocations: 0.8786 MB / 0.7754 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/2.396, allocations: 17.58 MB / 0.7925 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/2.397, allocations: 1.536 MB / 0.794 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009429/2.398, allocations: 318.4 kB / 0.7944 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/2.399, allocations: 0.6906 MB / 0.795 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/2.399, allocations: 2.062 kB / 0.795 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/2.574, allocations: 103.2 MB / 0.8958 GB, free: 55.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.04/21.62, allocations: 19.61 kB / 0.8958 GB, free: 55.74 MB / 0.5919 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 & 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)