Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.8468/0.8468, allocations: 153.8 MB / 172.7 MB, free: 4.863 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.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005083, allocations: 11.98 kB / 249.8 MB, free: 4.363 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1752, allocations: 33.36 MB / 283.2 MB, free: 1.715 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.TestStaticWaterWaterExchanger): time 1.834/2.01, allocations: 308.9 MB / 0.5782 GB, free: 17.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0243/2.034, allocations: 20.65 MB / 0.5983 GB, free: 8.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/2.035, allocations: 3.719 kB / 0.5984 GB, free: 8.492 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89:37: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/StaticWaterWaterExchanger.mo:90:3-92:37: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.0005796/2.035, allocations: 181.1 kB / 0.5985 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/2.036, allocations: 321.4 kB / 0.5988 GB, free: 8.188 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.01867/2.054, allocations: 7.216 MB / 0.6059 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/2.056, allocations: 0.981 MB / 0.6068 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/2.056, allocations: 234.9 kB / 0.6071 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/2.056, allocations: 409.2 kB / 0.6075 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/2.057, allocations: 291.3 kB / 0.6077 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/2.057, allocations: 50.25 kB / 0.6078 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02612/2.083, allocations: 14.46 MB / 0.6219 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/2.083, allocations: 131.5 kB / 0.622 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006521/2.084, allocations: 298.6 kB / 0.6223 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01758/2.101, allocations: 6.964 MB / 0.6291 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/2.101, allocations: 5.062 kB / 0.6291 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/2.101, allocations: 0 / 0.6291 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.139e-05/2.101, allocations: 0 / 0.6291 GB, free: 15.6 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004553/2.106, allocations: 1.503 MB / 0.6306 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/2.106, allocations: 12.88 kB / 0.6306 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/2.106, allocations: 116.5 kB / 0.6307 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/2.106, allocations: 80.41 kB / 0.6308 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/2.107, allocations: 286.4 kB / 0.6311 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/2.107, allocations: 205.4 kB / 0.6313 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/2.107, allocations: 48 kB / 0.6313 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.108, allocations: 0.7882 MB / 0.6321 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/2.108, allocations: 0 / 0.6321 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/2.108, allocations: 24.78 kB / 0.6321 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/2.108, allocations: 38.2 kB / 0.6321 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/2.11, allocations: 0.5858 MB / 0.6327 GB, free: 11.78 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.0698/2.179, allocations: 21.9 MB / 0.6541 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/2.181, allocations: 474.2 kB / 0.6545 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/2.181, allocations: 279.4 kB / 0.6548 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07119/2.252, allocations: 21.17 MB / 0.6755 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/2.252, allocations: 35.12 kB / 0.6755 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 3.516e-06/2.252, allocations: 4 kB / 0.6755 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.01662/2.269, allocations: 3.177 MB / 0.6786 GB, free: 12.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/2.269, allocations: 63.27 kB / 0.6787 GB, free: 12.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/2.27, allocations: 344.3 kB / 0.679 GB, free: 12.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/2.27, allocations: 29.7 kB / 0.679 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/2.27, allocations: 234.8 kB / 0.6793 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/2.27, allocations: 436 kB / 0.6797 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/2.27, allocations: 130.1 kB / 0.6798 GB, free: 11.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001746/2.27, allocations: 366.8 kB / 0.6802 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/2.271, allocations: 289.6 kB / 0.6804 GB, free: 10.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/2.272, allocations: 389.2 kB / 0.6808 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/2.273, allocations: 0.7303 MB / 0.6815 GB, free: 9.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/2.273, allocations: 3.938 kB / 0.6815 GB, free: 9.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004061/2.277, allocations: 1.242 MB / 0.6827 GB, free: 8.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/2.277, allocations: 8 kB / 0.6827 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.277, allocations: 1.688 kB / 0.6827 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/2.281, allocations: 1.381 MB / 0.6841 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/2.281, allocations: 19.94 kB / 0.6841 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/2.283, allocations: 1.39 MB / 0.6855 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/2.283, allocations: 95.23 kB / 0.6856 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/2.284, allocations: 23.98 kB / 0.6856 GB, free: 5.371 MB / 0.545 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002562/2.284, allocations: 170.9 kB / 0.6857 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/2.284, allocations: 59.52 kB / 0.6858 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/2.288, allocations: 3.891 MB / 0.6896 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002696/2.291, allocations: 1.261 MB / 0.6908 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/2.291, allocations: 1.125 kB / 0.6908 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/2.291, allocations: 7.922 kB / 0.6908 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006482/2.298, allocations: 2.696 MB / 0.6935 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.298, allocations: 0 / 0.6935 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/2.298, allocations: 95.89 kB / 0.6936 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/2.3, allocations: 0.8634 MB / 0.6944 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/2.3, allocations: 23.98 kB / 0.6944 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/2.302, allocations: 1.508 MB / 0.6959 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.302, allocations: 0 / 0.6959 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/2.307, allocations: 1.48 MB / 0.6973 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/2.307, allocations: 83.22 kB / 0.6974 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/2.307, allocations: 40.38 kB / 0.6975 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/2.307, allocations: 31.97 kB / 0.6975 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/2.308, allocations: 51.56 kB / 0.6975 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/2.308, allocations: 28.67 kB / 0.6976 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004708/2.308, allocations: 387.1 kB / 0.6979 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.308, allocations: 4 kB / 0.6979 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002696/2.311, allocations: 1.06 MB / 0.699 GB, free: 7.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008679/2.319, allocations: 3.123 MB / 0.702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002132/2.322, allocations: 1.08 MB / 0.7031 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.322, allocations: 0 / 0.7031 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/2.323, allocations: 467.8 kB / 0.7035 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/2.325, allocations: 436.2 kB / 0.7039 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/2.337, allocations: 6.56 MB / 0.7104 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/2.337, allocations: 408.9 kB / 0.7107 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003529/2.338, allocations: 68.95 kB / 0.7108 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/2.338, allocations: 299.3 kB / 0.7111 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/2.338, allocations: 0 / 0.7111 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/2.443, allocations: 58.91 MB / 0.7686 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/17.52, allocations: 11.16 kB / 0.7686 GB, free: 0.9805 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger_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_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.76397532504052] Failed to read output from testmodel.py, exit status != 0: 18.109431392047554 18.120378693 16.016487934 Calling exit ...