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.8168/0.8168, allocations: 153.9 MB / 172.7 MB, free: 4.93 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.0005114/0.0005114, allocations: 7.984 kB / 249.9 MB, free: 4.418 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1715, allocations: 33.36 MB / 283.2 MB, free: 1.789 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.796/1.967, allocations: 309.1 MB / 0.5784 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/1.994, allocations: 23.16 MB / 0.601 GB, free: 5.516 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/1.994, allocations: 3.938 kB / 0.601 GB, free: 5.516 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.0006907/1.995, allocations: 205.7 kB / 0.6012 GB, free: 5.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009456/1.996, allocations: 322.6 kB / 0.6016 GB, free: 5.191 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.02137/2.017, allocations: 7.332 MB / 0.6087 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/2.019, allocations: 0.9816 MB / 0.6097 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/2.019, allocations: 244.2 kB / 0.6099 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/2.02, allocations: 394 kB / 0.6103 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/2.021, allocations: 325.1 kB / 0.6106 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/2.021, allocations: 51.16 kB / 0.6106 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02996/2.051, allocations: 15.41 MB / 0.6257 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/2.051, allocations: 131.5 kB / 0.6258 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000633/2.052, allocations: 362.2 kB / 0.6262 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/2.067, allocations: 6.956 MB / 0.633 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/2.067, allocations: 0 / 0.633 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/2.067, allocations: 0 / 0.633 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.764e-05/2.067, allocations: 0 / 0.633 GB, free: 12.06 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.004638/2.072, allocations: 1.519 MB / 0.6344 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/2.072, allocations: 8.031 kB / 0.6344 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/2.072, allocations: 119.4 kB / 0.6346 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/2.072, allocations: 81.14 kB / 0.6346 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/2.072, allocations: 280.5 kB / 0.6349 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/2.073, allocations: 207.8 kB / 0.6351 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/2.073, allocations: 45.97 kB / 0.6351 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/2.074, allocations: 0.7912 MB / 0.6359 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/2.074, allocations: 4.656 kB / 0.6359 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/2.074, allocations: 20.72 kB / 0.6359 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/2.074, allocations: 35.97 kB / 0.636 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/2.075, allocations: 0.5955 MB / 0.6366 GB, free: 8.238 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.07073/2.146, allocations: 22.89 MB / 0.6589 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/2.147, allocations: 475.7 kB / 0.6594 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/2.148, allocations: 282.7 kB / 0.6596 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07221/2.22, allocations: 21.1 MB / 0.6802 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/2.22, allocations: 34.56 kB / 0.6803 GB, free: 11.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 2.545e-06/2.22, allocations: 0 / 0.6803 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.0175/2.237, allocations: 3.188 MB / 0.6834 GB, free: 7.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/2.238, allocations: 55.41 kB / 0.6834 GB, free: 7.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/2.238, allocations: 340.4 kB / 0.6838 GB, free: 7.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/2.238, allocations: 29.7 kB / 0.6838 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/2.238, allocations: 233.7 kB / 0.684 GB, free: 7.258 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/2.239, allocations: 424.1 kB / 0.6844 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/2.239, allocations: 134 kB / 0.6845 GB, free: 6.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001854/2.239, allocations: 372 kB / 0.6849 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/2.24, allocations: 281.6 kB / 0.6852 GB, free: 6.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/2.24, allocations: 401.1 kB / 0.6855 GB, free: 5.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/2.242, allocations: 0.7281 MB / 0.6863 GB, free: 4.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/2.242, allocations: 3.938 kB / 0.6863 GB, free: 4.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004297/2.246, allocations: 1.241 MB / 0.6875 GB, free: 3.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/2.246, allocations: 8 kB / 0.6875 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/2.246, allocations: 0 / 0.6875 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003876/2.25, allocations: 1.381 MB / 0.6888 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/2.25, allocations: 27.92 kB / 0.6889 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/2.252, allocations: 1.39 MB / 0.6902 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/2.253, allocations: 91.23 kB / 0.6903 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/2.253, allocations: 24.55 kB / 0.6903 GB, free: 0.6836 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.0003537/2.253, allocations: 177.8 kB / 0.6905 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/2.253, allocations: 55.58 kB / 0.6905 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/2.258, allocations: 3.885 MB / 0.6943 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002797/2.261, allocations: 1.255 MB / 0.6956 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/2.261, allocations: 4 kB / 0.6956 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/2.261, allocations: 10.17 kB / 0.6956 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007044/2.268, allocations: 2.813 MB / 0.6983 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/2.268, allocations: 0.75 kB / 0.6983 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/2.268, allocations: 95.89 kB / 0.6984 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002377/2.271, allocations: 0.8676 MB / 0.6993 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/2.271, allocations: 20 kB / 0.6993 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/2.273, allocations: 1.511 MB / 0.7008 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.273, allocations: 0 / 0.7008 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/2.278, allocations: 1.469 MB / 0.7022 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/2.278, allocations: 91.22 kB / 0.7023 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/2.278, allocations: 40.31 kB / 0.7023 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/2.279, allocations: 24.73 kB / 0.7023 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/2.279, allocations: 52.89 kB / 0.7024 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/2.279, allocations: 27.98 kB / 0.7024 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000515/2.28, allocations: 387.1 kB / 0.7028 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.28, allocations: 0 / 0.7028 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002949/2.283, allocations: 1.066 MB / 0.7038 GB, free: 2.609 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.009748/2.292, allocations: 3.126 MB / 0.7069 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00239/2.295, allocations: 1.09 MB / 0.7079 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/2.295, allocations: 0.9375 kB / 0.7079 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/2.296, allocations: 480 kB / 0.7084 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/2.298, allocations: 433.7 kB / 0.7088 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/2.312, allocations: 6.548 MB / 0.7152 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/2.312, allocations: 0.9948 MB / 0.7162 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003178/2.313, allocations: 63.28 kB / 0.7162 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/2.313, allocations: 307.3 kB / 0.7165 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/2.313, allocations: 0 / 0.7165 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/2.436, allocations: 60.76 MB / 0.7759 GB, free: 9.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/17.89, allocations: 5.5 kB / 0.7759 GB, free: 9.547 MB / 0.6387 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: 20.335309456999994] Failed to read output from testmodel.py, exit status != 0: 18.390705546999925 18.402125425 16.332305067 Calling exit ...