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.8471/0.8471, allocations: 153.8 MB / 170.9 MB, free: 13.73 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 23.02 kB / 247 MB, free: 14.87 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06054/0.06103, allocations: 33.34 MB / 280.4 MB, free: 15.11 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.749/1.81, allocations: 308.9 MB / 0.5755 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03467/1.844, allocations: 24.21 MB / 0.5991 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/1.845, allocations: 4 kB / 0.5991 GB, free: 0.5508 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.0007625/1.846, allocations: 235.8 kB / 0.5994 GB, free: 332 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/1.846, allocations: 321.9 kB / 0.5997 GB, free: 8 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.0208/1.867, allocations: 7.527 MB / 0.607 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/1.869, allocations: 0.8826 MB / 0.6079 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003577/1.869, allocations: 188.9 kB / 0.6081 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/1.87, allocations: 350.6 kB / 0.6084 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/1.87, allocations: 266.6 kB / 0.6086 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/1.87, allocations: 44 kB / 0.6087 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02795/1.898, allocations: 16.1 MB / 0.6244 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/1.898, allocations: 103.5 kB / 0.6245 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004749/1.899, allocations: 326.3 kB / 0.6248 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01596/1.915, allocations: 7.097 MB / 0.6317 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.915, allocations: 3.938 kB / 0.6318 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.435e-06/1.915, allocations: 3.844 kB / 0.6318 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.915, allocations: 3.984 kB / 0.6318 GB, free: 15.09 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.004397/1.919, allocations: 1.527 MB / 0.6332 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.919, allocations: 8.031 kB / 0.6333 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.043e-05/1.919, allocations: 17.19 kB / 0.6333 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/1.919, allocations: 111.2 kB / 0.6334 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/1.919, allocations: 68.47 kB / 0.6334 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/1.92, allocations: 319.2 kB / 0.6337 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/1.92, allocations: 29.38 kB / 0.6338 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/1.92, allocations: 39.94 kB / 0.6338 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/1.921, allocations: 0.6892 MB / 0.6345 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/1.921, allocations: 3.938 kB / 0.6345 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/1.921, allocations: 20 kB / 0.6345 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/1.921, allocations: 43.84 kB / 0.6346 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/1.921, allocations: 451.7 kB / 0.635 GB, free: 11.64 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.07887/2, allocations: 36.38 MB / 0.6705 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/2.001, allocations: 279.6 kB / 0.6708 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/2.001, allocations: 222.8 kB / 0.671 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08943/2.091, allocations: 39.2 MB / 0.7093 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/2.091, allocations: 34.56 kB / 0.7093 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=124): time 3.096e-06/2.091, allocations: 0 / 0.7093 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124): time 0.002692/2.093, allocations: 1.192 MB / 0.7105 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/2.093, allocations: 55.41 kB / 0.7105 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/2.094, allocations: 328.4 kB / 0.7108 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/2.094, allocations: 29.7 kB / 0.7109 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/2.094, allocations: 217.8 kB / 0.7111 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/2.094, allocations: 424.1 kB / 0.7115 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/2.095, allocations: 109.7 kB / 0.7116 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001814/2.095, allocations: 366.8 kB / 0.7119 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/2.095, allocations: 229.2 kB / 0.7121 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/2.096, allocations: 323.6 kB / 0.7125 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/2.096, allocations: 0.6214 MB / 0.7131 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/2.096, allocations: 3.938 kB / 0.7131 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001241/2.098, allocations: 0.7726 MB / 0.7138 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/2.098, allocations: 4 kB / 0.7138 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/2.098, allocations: 4 kB / 0.7138 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/2.099, allocations: 336.8 kB / 0.7141 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/2.1, allocations: 19.98 kB / 0.7142 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/2.101, allocations: 1.295 MB / 0.7154 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/2.101, allocations: 75.25 kB / 0.7155 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/2.101, allocations: 20.03 kB / 0.7155 GB, free: 1.352 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.0002412/2.101, allocations: 183.6 kB / 0.7157 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/2.101, allocations: 55.67 kB / 0.7157 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2011/2.302, allocations: 3.994 MB / 0.7196 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001066/2.303, allocations: 0.7949 MB / 0.7204 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/2.303, allocations: 3.75 kB / 0.7204 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/2.303, allocations: 3.516 kB / 0.7204 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/2.306, allocations: 2.133 MB / 0.7225 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/2.306, allocations: 0 / 0.7225 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/2.306, allocations: 97.78 kB / 0.7226 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/2.307, allocations: 235.6 kB / 0.7228 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/2.307, allocations: 14.22 kB / 0.7228 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007542/2.308, allocations: 1.336 MB / 0.7242 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/2.308, allocations: 3.406 kB / 0.7242 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/2.309, allocations: 0.9538 MB / 0.7251 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/2.309, allocations: 195 kB / 0.7253 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/2.309, allocations: 34.12 kB / 0.7253 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/2.309, allocations: 16.94 kB / 0.7253 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/2.309, allocations: 48.31 kB / 0.7254 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/2.309, allocations: 18.56 kB / 0.7254 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003835/2.31, allocations: 421.7 kB / 0.7258 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/2.31, allocations: 1.531 kB / 0.7258 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002513/2.312, allocations: 1.002 MB / 0.7268 GB, free: 214.1 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.005241/2.318, allocations: 2.591 MB / 0.7293 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001244/2.319, allocations: 0.9244 MB / 0.7302 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.319, allocations: 3.375 kB / 0.7302 GB, free: 212.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004893/2.319, allocations: 356.3 kB / 0.7305 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/2.321, allocations: 429 kB / 0.731 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006801/2.328, allocations: 5.715 MB / 0.7365 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/2.328, allocations: 0.9898 MB / 0.7375 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003339/2.329, allocations: 71.39 kB / 0.7376 GB, free: 208.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/2.329, allocations: 304.7 kB / 0.7379 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/2.329, allocations: 0 / 0.7379 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07987/2.409, allocations: 54.81 MB / 0.7914 GB, free: 160 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/17.62, allocations: 10.25 kB / 0.7914 GB, free: 160 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.87418423098279] Failed to read output from testmodel.py, exit status != 0: 17.930213878978975 17.939660471 16.022938807 Calling exit ...