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.861/0.861, allocations: 153.8 MB / 170.2 MB, free: 13.78 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.0007314/0.0007314, allocations: 16.62 kB / 246.3 MB, free: 14.93 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08869, allocations: 33.34 MB / 279.7 MB, free: 15.14 MB / 238.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.716/1.805, allocations: 308.9 MB / 0.5748 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03528/1.84, allocations: 24.2 MB / 0.5984 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/1.841, allocations: 8 kB / 0.5984 GB, free: 0.5703 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.000802/1.842, allocations: 228 kB / 0.5987 GB, free: 356 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008683/1.842, allocations: 321.9 kB / 0.599 GB, free: 32 kB / 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.01945/1.862, allocations: 7.537 MB / 0.6063 GB, free: 8.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/1.863, allocations: 0.8787 MB / 0.6072 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/1.863, allocations: 184.9 kB / 0.6074 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/1.864, allocations: 362.6 kB / 0.6077 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/1.864, allocations: 266.6 kB / 0.608 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/1.864, allocations: 36 kB / 0.608 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02724/1.892, allocations: 16.11 MB / 0.6237 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/1.892, allocations: 95.58 kB / 0.6238 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004799/1.892, allocations: 330.2 kB / 0.6241 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0174/1.91, allocations: 7.093 MB / 0.6311 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.91, allocations: 0 / 0.6311 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/1.91, allocations: 3.938 kB / 0.6311 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.91, allocations: 0 / 0.6311 GB, free: 15.11 MB / 0.5137 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.004318/1.914, allocations: 1.531 MB / 0.6326 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.914, allocations: 12.03 kB / 0.6326 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/1.914, allocations: 107.2 kB / 0.6327 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/1.914, allocations: 72.47 kB / 0.6327 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/1.915, allocations: 323.1 kB / 0.633 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/1.915, allocations: 33.38 kB / 0.6331 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/1.915, allocations: 40.12 kB / 0.6331 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/1.916, allocations: 0.6892 MB / 0.6338 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/1.916, allocations: 4 kB / 0.6338 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/1.916, allocations: 19.94 kB / 0.6338 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/1.916, allocations: 35.97 kB / 0.6338 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/1.916, allocations: 447.7 kB / 0.6343 GB, free: 11.67 MB / 0.5137 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.07958/1.996, allocations: 36.37 MB / 0.6698 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/1.997, allocations: 283.5 kB / 0.6701 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/1.997, allocations: 218.8 kB / 0.6703 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09172/2.089, allocations: 39.2 MB / 0.7086 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/2.089, allocations: 30.56 kB / 0.7086 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=124): time 2.184e-06/2.089, allocations: 0 / 0.7086 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124): time 0.002447/2.091, allocations: 1.192 MB / 0.7098 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/2.091, allocations: 51.41 kB / 0.7098 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/2.091, allocations: 328.4 kB / 0.7101 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/2.092, allocations: 29.7 kB / 0.7101 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/2.092, allocations: 217.7 kB / 0.7104 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/2.092, allocations: 428.1 kB / 0.7108 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/2.092, allocations: 113.6 kB / 0.7109 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001787/2.092, allocations: 374.7 kB / 0.7112 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/2.093, allocations: 217.2 kB / 0.7114 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/2.093, allocations: 327.6 kB / 0.7117 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/2.094, allocations: 0.6175 MB / 0.7123 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/2.094, allocations: 0 / 0.7123 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001188/2.095, allocations: 0.7765 MB / 0.7131 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.095, allocations: 4 kB / 0.7131 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/2.095, allocations: 4 kB / 0.7131 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/2.097, allocations: 341.5 kB / 0.7134 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/2.097, allocations: 12 kB / 0.7135 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/2.098, allocations: 1.296 MB / 0.7147 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/2.098, allocations: 79.31 kB / 0.7148 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/2.098, allocations: 16 kB / 0.7148 GB, free: 1.387 MB / 0.5919 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.00023/2.099, allocations: 191.5 kB / 0.715 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/2.099, allocations: 55.58 kB / 0.715 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1911/2.29, allocations: 3.983 MB / 0.7189 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009858/2.291, allocations: 0.7957 MB / 0.7197 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/2.291, allocations: 3.75 kB / 0.7197 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/2.291, allocations: 6.031 kB / 0.7197 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/2.293, allocations: 2.135 MB / 0.7218 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.293, allocations: 0 / 0.7218 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/2.293, allocations: 89.23 kB / 0.7219 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007102/2.294, allocations: 243.6 kB / 0.7221 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/2.294, allocations: 13.83 kB / 0.7221 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007148/2.295, allocations: 1.327 MB / 0.7234 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/2.295, allocations: 3.469 kB / 0.7234 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/2.296, allocations: 0.9598 MB / 0.7244 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/2.296, allocations: 192.4 kB / 0.7246 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/2.296, allocations: 36.47 kB / 0.7246 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/2.296, allocations: 15.22 kB / 0.7246 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/2.296, allocations: 44.53 kB / 0.7246 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/2.296, allocations: 21.19 kB / 0.7247 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003759/2.297, allocations: 422.2 kB / 0.7251 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.297, allocations: 0 / 0.7251 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002288/2.299, allocations: 1.011 MB / 0.7261 GB, free: 214.2 MB / 0.5919 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.004551/2.303, allocations: 2.575 MB / 0.7286 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001174/2.305, allocations: 0.9313 MB / 0.7295 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.305, allocations: 0 / 0.7295 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/2.305, allocations: 361.7 kB / 0.7298 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/2.307, allocations: 429.3 kB / 0.7302 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/2.313, allocations: 5.723 MB / 0.7358 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/2.313, allocations: 0.9844 MB / 0.7368 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002881/2.314, allocations: 80.16 kB / 0.7369 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/2.314, allocations: 305.2 kB / 0.7372 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/2.314, allocations: 0 / 0.7372 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/2.399, allocations: 54.77 MB / 0.7906 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/17.33, allocations: 11.91 kB / 0.7907 GB, free: 160.1 MB / 0.5919 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: 19.533635469997535] Failed to read output from testmodel.py, exit status != 0: 17.61406330000318 17.622537133 15.710843075 Calling exit ...