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.84/0.84, allocations: 150.9 MB / 166.5 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 16.77 kB / 236.6 MB, free: 2.004 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05755/0.05794, allocations: 31.36 MB / 268 MB, free: 7.531 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.614/1.672, allocations: 296.5 MB / 0.5512 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0268/1.699, allocations: 23.08 MB / 0.5737 GB, free: 4.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/1.699, allocations: 4 kB / 0.5737 GB, free: 4.176 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.0005471/1.7, allocations: 218.5 kB / 0.574 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006967/1.7, allocations: 425.6 kB / 0.5744 GB, free: 3.547 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.01846/1.719, allocations: 7.374 MB / 0.5816 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002502/1.721, allocations: 2.553 MB / 0.5841 GB, free: 9.613 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008346/1.722, allocations: 0.6843 MB / 0.5847 GB, free: 8.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/1.723, allocations: 0.8805 MB / 0.5856 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/1.724, allocations: 0.8607 MB / 0.5864 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/1.725, allocations: 123.9 kB / 0.5865 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02387/1.748, allocations: 15.45 MB / 0.6016 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006635/1.749, allocations: 478.7 kB / 0.6021 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.75, allocations: 0.7583 MB / 0.6028 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/1.765, allocations: 7.914 MB / 0.6106 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.765, allocations: 0 / 0.6106 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.765, allocations: 0 / 0.6106 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.604e-05/1.765, allocations: 3.938 kB / 0.6106 GB, free: 14.41 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.007214/1.773, allocations: 2.357 MB / 0.6129 GB, free: 12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.773, allocations: 16.02 kB / 0.6129 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/1.773, allocations: 216.8 kB / 0.6131 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/1.773, allocations: 136 kB / 0.6132 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/1.774, allocations: 0.5809 MB / 0.6138 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.774, allocations: 97.98 kB / 0.6139 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/1.775, allocations: 104 kB / 0.614 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/1.777, allocations: 1.962 MB / 0.6159 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.778, allocations: 4 kB / 0.6159 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/1.778, allocations: 44 kB / 0.6159 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/1.778, allocations: 71.94 kB / 0.616 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/1.781, allocations: 1.902 MB / 0.6179 GB, free: 6.75 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.07462/1.855, allocations: 39.77 MB / 0.6567 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/1.858, allocations: 1.706 MB / 0.6584 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/1.86, allocations: 1.197 MB / 0.6595 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06954/1.929, allocations: 33.85 MB / 0.6926 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/1.929, allocations: 47.81 kB / 0.6926 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=292): time 3.537e-06/1.929, allocations: 0 / 0.6926 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=292): time 0.02722/1.957, allocations: 7.323 MB / 0.6998 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.957, allocations: 64.72 kB / 0.6999 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/1.957, allocations: 357.5 kB / 0.7002 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.957, allocations: 49.7 kB / 0.7002 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/1.957, allocations: 284.3 kB / 0.7005 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/1.958, allocations: 1.003 MB / 0.7015 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/1.958, allocations: 339.8 kB / 0.7018 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/1.959, allocations: 326 kB / 0.7021 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.96, allocations: 1.023 MB / 0.7031 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/1.962, allocations: 1.212 MB / 0.7043 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/1.966, allocations: 2.46 MB / 0.7067 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.966, allocations: 0 / 0.7067 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00612/1.972, allocations: 3.741 MB / 0.7104 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.972, allocations: 15.98 kB / 0.7104 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.972, allocations: 0 / 0.7104 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1871/2.159, allocations: 4.822 MB / 0.7151 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/2.159, allocations: 30.73 kB / 0.7151 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007746/2.167, allocations: 4.902 MB / 0.7199 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009445/2.168, allocations: 192.9 kB / 0.7201 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/2.168, allocations: 62.16 kB / 0.7201 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.0005417/2.169, allocations: 369.5 kB / 0.7205 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/2.169, allocations: 107.9 kB / 0.7206 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/2.179, allocations: 10.92 MB / 0.7313 GB, free: 213 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005368/2.184, allocations: 4.017 MB / 0.7352 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/2.184, allocations: 2.062 kB / 0.7352 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/2.185, allocations: 12.61 kB / 0.7352 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/2.198, allocations: 7.986 MB / 0.743 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/2.198, allocations: 6.391 kB / 0.743 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/2.199, allocations: 358.9 kB / 0.7434 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003818/2.203, allocations: 1.915 MB / 0.7452 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/2.203, allocations: 72.16 kB / 0.7453 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005658/2.209, allocations: 6.903 MB / 0.752 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.209, allocations: 3.219 kB / 0.752 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00988/2.219, allocations: 6.208 MB / 0.7581 GB, free: 194.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/2.219, allocations: 273.1 kB / 0.7584 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/2.219, allocations: 64.86 kB / 0.7584 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/2.22, allocations: 73.08 kB / 0.7585 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/2.221, allocations: 169.4 kB / 0.7587 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/2.221, allocations: 83.94 kB / 0.7587 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003862/2.221, allocations: 399 kB / 0.7591 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/2.221, allocations: 0 / 0.7591 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00287/2.224, allocations: 1.364 MB / 0.7604 GB, free: 192.5 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.01348/2.238, allocations: 7.92 MB / 0.7682 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006031/2.244, allocations: 4.032 MB / 0.7721 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/2.244, allocations: 0 / 0.7721 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/2.247, allocations: 2.174 MB / 0.7742 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.003541/2.251, allocations: 0.8807 MB / 0.7751 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/2.273, allocations: 17.59 MB / 0.7923 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/2.274, allocations: 1.543 MB / 0.7938 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007934/2.275, allocations: 313.2 kB / 0.7941 GB, free: 158 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/2.275, allocations: 0.6867 MB / 0.7947 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/2.275, allocations: 4 kB / 0.7948 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/2.403, allocations: 103.2 MB / 0.8955 GB, free: 55.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/20.43, allocations: 13.2 kB / 0.8955 GB, free: 55.8 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)