Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.8243/0.8243, allocations: 153.8 MB / 172.7 MB, free: 4.969 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.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005185, allocations: 19.95 kB / 249.9 MB, free: 4.477 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1656, allocations: 33.36 MB / 283.2 MB, free: 1.828 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.TestSimpleStaticCondenser): time 1.787/1.953, allocations: 309.1 MB / 0.5784 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02341/1.976, allocations: 24.26 MB / 0.6021 GB, free: 4.832 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005076/1.977, allocations: 6.656 kB / 0.6021 GB, free: 4.832 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44: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/SimpleStaticCondenser.mo:61:3-63:42: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/SimpleStaticCondenser.mo:64:3-66:36: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/SimpleStaticCondenser.mo:67:3-69: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.0005383/1.977, allocations: 226.5 kB / 0.6023 GB, free: 4.719 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/1.978, allocations: 327 kB / 0.6027 GB, free: 4.496 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.01737/1.995, allocations: 7.54 MB / 0.61 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/1.996, allocations: 0.8829 MB / 0.6109 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/1.997, allocations: 192.4 kB / 0.6111 GB, free: 340 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/1.997, allocations: 363.2 kB / 0.6114 GB, free: 124 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/1.997, allocations: 265.3 kB / 0.6117 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/1.997, allocations: 38.09 kB / 0.6117 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02884/2.026, allocations: 16.11 MB / 0.6274 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/2.026, allocations: 95.52 kB / 0.6275 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/2.027, allocations: 330.3 kB / 0.6278 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01561/2.043, allocations: 7.103 MB / 0.6348 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/2.043, allocations: 0 / 0.6348 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/2.043, allocations: 0 / 0.6348 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.598e-06/2.043, allocations: 0 / 0.6348 GB, free: 10.24 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003726/2.046, allocations: 1.444 MB / 0.6362 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/2.046, allocations: 13.19 kB / 0.6362 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/2.047, allocations: 111.2 kB / 0.6363 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/2.047, allocations: 73.36 kB / 0.6364 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/2.047, allocations: 262.2 kB / 0.6366 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/2.047, allocations: 30.88 kB / 0.6367 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/2.047, allocations: 44.12 kB / 0.6367 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/2.048, allocations: 0.7052 MB / 0.6374 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/2.048, allocations: 2.094 kB / 0.6374 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/2.048, allocations: 17.31 kB / 0.6374 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/2.048, allocations: 39.91 kB / 0.6374 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/2.049, allocations: 467.6 kB / 0.6379 GB, free: 6.953 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.06721/2.116, allocations: 22.63 MB / 0.66 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/2.117, allocations: 292.7 kB / 0.6603 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/2.117, allocations: 218.8 kB / 0.6605 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07907/2.196, allocations: 23.78 MB / 0.6837 GB, free: 7.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/2.196, allocations: 34.56 kB / 0.6837 GB, free: 7.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 3.466e-06/2.196, allocations: 0.9375 kB / 0.6837 GB, free: 7.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.00223/2.198, allocations: 1.057 MB / 0.6848 GB, free: 6.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/2.198, allocations: 55.41 kB / 0.6848 GB, free: 6.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/2.199, allocations: 320.5 kB / 0.6851 GB, free: 6.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/2.199, allocations: 33.7 kB / 0.6852 GB, free: 6.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/2.199, allocations: 221.7 kB / 0.6854 GB, free: 5.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/2.199, allocations: 413.3 kB / 0.6858 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/2.199, allocations: 121.6 kB / 0.6859 GB, free: 5.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000166/2.199, allocations: 366.8 kB / 0.6862 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/2.2, allocations: 225.2 kB / 0.6864 GB, free: 4.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/2.2, allocations: 338.6 kB / 0.6868 GB, free: 4.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007514/2.201, allocations: 0.6215 MB / 0.6874 GB, free: 3.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/2.201, allocations: 3.938 kB / 0.6874 GB, free: 3.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001085/2.202, allocations: 0.7776 MB / 0.6881 GB, free: 3.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/2.202, allocations: 8 kB / 0.6881 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/2.202, allocations: 4 kB / 0.6881 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/2.204, allocations: 343.1 kB / 0.6885 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/2.204, allocations: 20.86 kB / 0.6885 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/2.205, allocations: 1.287 MB / 0.6897 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/2.205, allocations: 79.19 kB / 0.6898 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/2.205, allocations: 20.03 kB / 0.6898 GB, free: 1.25 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 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002708/2.205, allocations: 178.3 kB / 0.69 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/2.205, allocations: 52.7 kB / 0.6901 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/2.209, allocations: 4.035 MB / 0.694 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001094/2.21, allocations: 0.8118 MB / 0.6948 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/2.21, allocations: 3.938 kB / 0.6948 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/2.21, allocations: 4.641 kB / 0.6948 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/2.213, allocations: 2.107 MB / 0.6969 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.213, allocations: 4 kB / 0.6969 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/2.213, allocations: 95.84 kB / 0.697 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007334/2.214, allocations: 242.4 kB / 0.6972 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/2.214, allocations: 13.23 kB / 0.6972 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/2.215, allocations: 1.348 MB / 0.6985 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/2.215, allocations: 1.828 kB / 0.6985 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/2.217, allocations: 0.9745 MB / 0.6995 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/2.217, allocations: 119.2 kB / 0.6996 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/2.217, allocations: 31.78 kB / 0.6996 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/2.217, allocations: 19.94 kB / 0.6996 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.849e-05/2.217, allocations: 40.56 kB / 0.6997 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/2.217, allocations: 23.94 kB / 0.6997 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004817/2.218, allocations: 423.8 kB / 0.7001 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.218, allocations: 0 / 0.7001 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002717/2.22, allocations: 1.01 MB / 0.7011 GB, free: 5.406 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005167/2.225, allocations: 2.595 MB / 0.7036 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001322/2.227, allocations: 0.9371 MB / 0.7045 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.227, allocations: 0 / 0.7045 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005719/2.227, allocations: 365.1 kB / 0.7049 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/2.229, allocations: 433.8 kB / 0.7053 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/2.237, allocations: 5.749 MB / 0.7109 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/2.237, allocations: 0.9983 MB / 0.7119 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002837/2.238, allocations: 76.23 kB / 0.712 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/2.238, allocations: 303.3 kB / 0.7122 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/2.238, allocations: 0 / 0.7122 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/2.34, allocations: 55.97 MB / 0.7669 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/17.93, allocations: 7.922 kB / 0.7669 GB, free: 2.738 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser_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_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.30187320799996] Failed to read output from testmodel.py, exit status != 0: 18.44118556300009 18.453360163 16.407975888 Calling exit ...