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.8319/0.8319, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.0005351/0.0005351, allocations: 11.98 kB / 249.8 MB, free: 4.371 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1744, allocations: 33.35 MB / 283.2 MB, free: 1.742 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.842/2.016, allocations: 308.9 MB / 0.5782 GB, free: 17.38 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02461/2.041, allocations: 21.58 MB / 0.5993 GB, free: 7.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/2.041, allocations: 6.031 kB / 0.5993 GB, free: 7.961 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.0005813/2.042, allocations: 196.1 kB / 0.5995 GB, free: 7.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/2.043, allocations: 321.9 kB / 0.5998 GB, free: 7.652 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.01938/2.062, allocations: 7.42 MB / 0.607 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/2.063, allocations: 0.8809 MB / 0.6079 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/2.064, allocations: 194.7 kB / 0.6081 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/2.064, allocations: 372 kB / 0.6084 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/2.064, allocations: 236.9 kB / 0.6086 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/2.064, allocations: 40.62 kB / 0.6087 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03962/2.104, allocations: 15.11 MB / 0.6234 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/2.104, allocations: 99.52 kB / 0.6235 GB, free: 5.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/2.105, allocations: 258.7 kB / 0.6238 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01886/2.124, allocations: 7.116 MB / 0.6307 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/2.124, allocations: 0 / 0.6307 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.244e-06/2.124, allocations: 0 / 0.6307 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.361e-05/2.124, allocations: 1.5 kB / 0.6307 GB, free: 14.25 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.005696/2.129, allocations: 1.441 MB / 0.6321 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/2.129, allocations: 9.344 kB / 0.6321 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/2.129, allocations: 119.1 kB / 0.6323 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/2.13, allocations: 72.42 kB / 0.6323 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/2.13, allocations: 258 kB / 0.6326 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/2.13, allocations: 29.38 kB / 0.6326 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/2.13, allocations: 48.12 kB / 0.6326 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/2.132, allocations: 0.6951 MB / 0.6333 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/2.132, allocations: 7.938 kB / 0.6333 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/2.132, allocations: 17.06 kB / 0.6333 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/2.132, allocations: 36.77 kB / 0.6334 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/2.133, allocations: 464.7 kB / 0.6338 GB, free: 10.96 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.1237/2.257, allocations: 21.76 MB / 0.6551 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/2.257, allocations: 291.5 kB / 0.6554 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/2.258, allocations: 223.8 kB / 0.6556 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08738/2.345, allocations: 23.85 MB / 0.6789 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/2.345, allocations: 36.06 kB / 0.6789 GB, free: 12.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.555e-06/2.345, allocations: 4 kB / 0.6789 GB, free: 12.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002294/2.348, allocations: 1.061 MB / 0.6799 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/2.348, allocations: 51.41 kB / 0.68 GB, free: 11.58 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/2.348, allocations: 336.4 kB / 0.6803 GB, free: 11.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/2.348, allocations: 25.7 kB / 0.6803 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/2.348, allocations: 217.8 kB / 0.6805 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/2.349, allocations: 432.1 kB / 0.6809 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/2.349, allocations: 113.6 kB / 0.6811 GB, free: 10.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002017/2.349, allocations: 371.7 kB / 0.6814 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/2.349, allocations: 225.2 kB / 0.6816 GB, free: 9.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/2.35, allocations: 328.6 kB / 0.6819 GB, free: 9.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008326/2.351, allocations: 0.6303 MB / 0.6826 GB, free: 8.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/2.351, allocations: 4 kB / 0.6826 GB, free: 8.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001206/2.352, allocations: 0.765 MB / 0.6833 GB, free: 8.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/2.352, allocations: 8 kB / 0.6833 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/2.352, allocations: 1.719 kB / 0.6833 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/2.353, allocations: 345.5 kB / 0.6836 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/2.354, allocations: 17.11 kB / 0.6837 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/2.355, allocations: 1.29 MB / 0.6849 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/2.355, allocations: 83.25 kB / 0.685 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/2.355, allocations: 16.53 kB / 0.685 GB, free: 6.273 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.0002411/2.355, allocations: 178.6 kB / 0.6852 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/2.355, allocations: 55.58 kB / 0.6852 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004162/2.36, allocations: 4.047 MB / 0.6892 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001159/2.361, allocations: 0.8206 MB / 0.69 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/2.361, allocations: 3.938 kB / 0.69 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/2.361, allocations: 7.984 kB / 0.69 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/2.364, allocations: 1.998 MB / 0.692 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/2.364, allocations: 0 / 0.692 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/2.364, allocations: 97.66 kB / 0.692 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007609/2.365, allocations: 250.5 kB / 0.6923 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/2.365, allocations: 16 kB / 0.6923 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/2.366, allocations: 1.338 MB / 0.6936 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/2.366, allocations: 8.031 kB / 0.6936 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/2.367, allocations: 0.9705 MB / 0.6946 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/2.368, allocations: 115.2 kB / 0.6947 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/2.368, allocations: 40.47 kB / 0.6947 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/2.368, allocations: 12 kB / 0.6947 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/2.368, allocations: 44.56 kB / 0.6948 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/2.368, allocations: 24.5 kB / 0.6948 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005265/2.369, allocations: 418.8 kB / 0.6952 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.369, allocations: 0 / 0.6952 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002795/2.371, allocations: 1.006 MB / 0.6962 GB, free: 10.52 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.006087/2.378, allocations: 2.598 MB / 0.6987 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001714/2.379, allocations: 0.9398 MB / 0.6996 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.379, allocations: 3.938 kB / 0.6996 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006059/2.38, allocations: 360.2 kB / 0.7 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/2.382, allocations: 433.6 kB / 0.7004 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/2.391, allocations: 5.758 MB / 0.706 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/2.392, allocations: 400.3 kB / 0.7064 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003416/2.392, allocations: 80.95 kB / 0.7065 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/2.392, allocations: 300.3 kB / 0.7068 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/2.392, allocations: 0 / 0.7068 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/2.506, allocations: 56.2 MB / 0.7616 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/17.4, allocations: 7.438 kB / 0.7616 GB, free: 8.395 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 os._exit(0), Time elapsed: 19.517515894956887] Failed to read output from testmodel.py, exit status != 0: 17.935415487736464 17.945762255 15.819762637 Calling exit ...