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.5674/0.5674, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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 3.076e-06/3.076e-06, allocations: 0 / 216.7 MB, free: 8.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.263e-05, allocations: 2.281 kB / 216.7 MB, free: 8.613 MB / 202.7 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.003/1.003, allocations: 255.6 MB / 472.4 MB, free: 7.523 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02157/1.025, allocations: 21.58 MB / 493.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000387/1.025, allocations: 4 kB / 493.9 MB, free: 1.855 MB / 442.7 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.0005074/1.026, allocations: 194.6 kB / 494.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/1.026, allocations: 329.7 kB / 494.5 MB, free: 1.34 MB / 442.7 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.2424/1.269, allocations: 7.477 MB / 0.4902 GB, free: 1.598 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/1.27, allocations: 0.9219 MB / 0.4911 GB, free: 1.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004531/1.271, allocations: 190.1 kB / 0.4912 GB, free: 1.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000964/1.271, allocations: 0.514 MB / 0.4917 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/1.272, allocations: 197.8 kB / 0.4919 GB, free: 1.223 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/1.272, allocations: 41.06 kB / 0.492 GB, free: 1.223 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02553/1.297, allocations: 15.12 MB / 0.5067 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001883/1.298, allocations: 98.11 kB / 0.5068 GB, free: 10.73 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005148/1.298, allocations: 214 kB / 0.507 GB, free: 10.65 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01779/1.316, allocations: 9.209 MB / 0.516 GB, free: 1.895 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.316, allocations: 9.516 kB / 0.516 GB, free: 1.887 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.316, allocations: 0 / 0.516 GB, free: 1.887 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/1.316, allocations: 0 / 0.516 GB, free: 1.887 MB / 458.7 MB 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.003895/1.32, allocations: 1.429 MB / 0.5174 GB, free: 436 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.32, allocations: 13 kB / 0.5174 GB, free: 424 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.514e-05/1.32, allocations: 111.7 kB / 0.5176 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.003e-05/1.32, allocations: 73.33 kB / 0.5176 GB, free: 232 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/1.32, allocations: 259.7 kB / 0.5179 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.32, allocations: 36.56 kB / 0.5179 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/1.32, allocations: 37 kB / 0.5179 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/1.321, allocations: 0.6999 MB / 0.5186 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.321, allocations: 3.469 kB / 0.5186 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/1.321, allocations: 20.72 kB / 0.5186 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/1.321, allocations: 39.95 kB / 0.5187 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/1.322, allocations: 459.5 kB / 0.5191 GB, free: 14.67 MB / 474.7 MB 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.03713/1.359, allocations: 21.77 MB / 0.5404 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.359, allocations: 287.7 kB / 0.5407 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/1.359, allocations: 222.9 kB / 0.5409 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04332/1.403, allocations: 23.85 MB / 0.5642 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.403, allocations: 38.5 kB / 0.5642 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=124): time 2.685e-06/1.403, allocations: 0 / 0.5642 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124): time 0.001673/1.404, allocations: 1.059 MB / 0.5652 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.404, allocations: 51.41 kB / 0.5653 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/1.405, allocations: 328.4 kB / 0.5656 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/1.405, allocations: 30.73 kB / 0.5656 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.405, allocations: 217.6 kB / 0.5658 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/1.405, allocations: 420.5 kB / 0.5662 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.405, allocations: 109.7 kB / 0.5663 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.405, allocations: 370.8 kB / 0.5667 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/1.406, allocations: 229.2 kB / 0.5669 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/1.406, allocations: 337.5 kB / 0.5672 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/1.406, allocations: 0.6217 MB / 0.5678 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.406, allocations: 0 / 0.5678 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.0007796/1.407, allocations: 0.7793 MB / 0.5686 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.407, allocations: 8.75 kB / 0.5686 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.407, allocations: 1.016 kB / 0.5686 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/1.408, allocations: 341.5 kB / 0.5689 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/1.408, allocations: 15.28 kB / 0.5689 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008347/1.409, allocations: 1.296 MB / 0.5702 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/1.409, allocations: 79.19 kB / 0.5703 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/1.409, allocations: 16 kB / 0.5703 GB, free: 10.28 MB / 0.5105 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.0001934/1.41, allocations: 178 kB / 0.5705 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/1.41, allocations: 56.23 kB / 0.5705 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/1.413, allocations: 4.059 MB / 0.5745 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007513/1.413, allocations: 0.8147 MB / 0.5753 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/1.413, allocations: 4.5 kB / 0.5753 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.413, allocations: 3.984 kB / 0.5753 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/1.415, allocations: 2.009 MB / 0.5773 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.415, allocations: 0 / 0.5773 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/1.416, allocations: 95.94 kB / 0.5773 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/1.416, allocations: 246.6 kB / 0.5776 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/1.416, allocations: 8 kB / 0.5776 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/1.417, allocations: 1.35 MB / 0.5789 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.417, allocations: 0 / 0.5789 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/1.418, allocations: 0.9765 MB / 0.5799 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.418, allocations: 119.2 kB / 0.58 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/1.418, allocations: 31.78 kB / 0.58 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.418, allocations: 12 kB / 0.58 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/1.418, allocations: 44.62 kB / 0.5801 GB, free: 40 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/1.418, allocations: 24 kB / 0.5801 GB, free: 16 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003531/1.418, allocations: 418.8 kB / 0.5805 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.418, allocations: 0 / 0.5805 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002645/1.421, allocations: 1.007 MB / 0.5815 GB, free: 14.6 MB / 0.5261 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.004665/1.426, allocations: 2.719 MB / 0.5841 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001129/1.427, allocations: 0.9357 MB / 0.585 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.427, allocations: 0.5 kB / 0.585 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/1.427, allocations: 360.2 kB / 0.5854 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.429, allocations: 447.7 kB / 0.5858 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007056/1.436, allocations: 5.781 MB / 0.5915 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/1.436, allocations: 400.3 kB / 0.5918 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002853/1.436, allocations: 78.72 kB / 0.5919 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.436, allocations: 304.4 kB / 0.5922 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/1.436, allocations: 0 / 0.5922 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07613/1.512, allocations: 56.3 MB / 0.6472 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/12.07, allocations: 7.859 kB / 0.6472 GB, free: 11.97 MB / 0.5886 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 13.834305773489177] Failed to read output from testmodel.py, exit status != 0: 12.440691352821887 12.583623788 11.264922236 Calling exit ...