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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8492/0.8492, allocations: 152.6 MB / 168.9 MB, free: 15 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.0005355/0.0005355, allocations: 18.31 kB / 244.5 MB, free: 60 kB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06598/0.06651, allocations: 33.05 MB / 277.5 MB, free: 1.238 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.773/1.839, allocations: 302.8 MB / 0.5667 GB, free: 1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03301/1.872, allocations: 24.13 MB / 0.5902 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/1.873, allocations: 8 kB / 0.5902 GB, free: 8.773 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0006519/1.874, allocations: 231.5 kB / 0.5905 GB, free: 8.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007069/1.874, allocations: 325.8 kB / 0.5908 GB, free: 8.23 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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.02043/1.895, allocations: 7.507 MB / 0.5981 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/1.896, allocations: 0.871 MB / 0.599 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/1.896, allocations: 192.8 kB / 0.5991 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/1.897, allocations: 354.5 kB / 0.5995 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/1.897, allocations: 262.6 kB / 0.5997 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/1.897, allocations: 40 kB / 0.5998 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0287/1.926, allocations: 16.09 MB / 0.6155 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/1.926, allocations: 103.5 kB / 0.6156 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005296/1.927, allocations: 330.3 kB / 0.6159 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01774/1.944, allocations: 7.092 MB / 0.6228 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/1.944, allocations: 0 / 0.6228 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.555e-06/1.944, allocations: 0 / 0.6228 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.944, allocations: 0 / 0.6228 GB, free: 7.355 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.00435/1.949, allocations: 1.523 MB / 0.6243 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.949, allocations: 12.03 kB / 0.6243 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/1.949, allocations: 111.2 kB / 0.6244 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/1.949, allocations: 72.47 kB / 0.6245 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/1.949, allocations: 327 kB / 0.6248 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/1.95, allocations: 33.38 kB / 0.6248 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/1.95, allocations: 48.06 kB / 0.6249 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009616/1.951, allocations: 0.6814 MB / 0.6255 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.951, allocations: 7.938 kB / 0.6256 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/1.951, allocations: 19.94 kB / 0.6256 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/1.951, allocations: 35.95 kB / 0.6256 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/1.951, allocations: 455.6 kB / 0.626 GB, free: 3.902 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.07607/2.027, allocations: 36.37 MB / 0.6616 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/2.028, allocations: 283.5 kB / 0.6618 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/2.028, allocations: 214.8 kB / 0.662 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08292/2.111, allocations: 36.63 MB / 0.6978 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/2.111, allocations: 34.56 kB / 0.6978 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=124): time 2.836e-06/2.111, allocations: 3.938 kB / 0.6978 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124): time 0.002391/2.114, allocations: 1.192 MB / 0.699 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/2.114, allocations: 55.41 kB / 0.6991 GB, free: 2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/2.114, allocations: 324.5 kB / 0.6994 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/2.114, allocations: 29.7 kB / 0.6994 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/2.114, allocations: 217.8 kB / 0.6996 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/2.115, allocations: 420.2 kB / 0.7 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/2.115, allocations: 117.6 kB / 0.7001 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001833/2.115, allocations: 370.8 kB / 0.7005 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/2.115, allocations: 217.2 kB / 0.7007 GB, free: 308 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/2.116, allocations: 319.7 kB / 0.701 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/2.116, allocations: 0.6214 MB / 0.7016 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/2.116, allocations: 0 / 0.7016 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001168/2.118, allocations: 0.7688 MB / 0.7023 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/2.118, allocations: 8 kB / 0.7023 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/2.118, allocations: 4.25 kB / 0.7024 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/2.119, allocations: 333.4 kB / 0.7027 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-05/2.119, allocations: 19.98 kB / 0.7027 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/2.12, allocations: 1.292 MB / 0.704 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/2.121, allocations: 75.33 kB / 0.704 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/2.121, allocations: 16 kB / 0.704 GB, free: 12.74 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.0002482/2.121, allocations: 186.3 kB / 0.7042 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/2.121, allocations: 51.58 kB / 0.7043 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/2.125, allocations: 3.996 MB / 0.7082 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001113/2.126, allocations: 0.804 MB / 0.709 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/2.126, allocations: 3.938 kB / 0.709 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/2.126, allocations: 3.984 kB / 0.709 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/2.129, allocations: 2.124 MB / 0.711 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.129, allocations: 0 / 0.711 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/2.129, allocations: 99.78 kB / 0.7111 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007584/2.13, allocations: 245.5 kB / 0.7114 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/2.13, allocations: 16 kB / 0.7114 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/2.131, allocations: 1.335 MB / 0.7127 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/2.131, allocations: 4 kB / 0.7127 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/2.133, allocations: 0.9549 MB / 0.7136 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/2.133, allocations: 188.3 kB / 0.7138 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/2.133, allocations: 43.67 kB / 0.7138 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/2.133, allocations: 16 kB / 0.7139 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/2.133, allocations: 44.59 kB / 0.7139 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/2.133, allocations: 23.92 kB / 0.7139 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004996/2.134, allocations: 422.8 kB / 0.7143 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/2.134, allocations: 0 / 0.7143 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002714/2.137, allocations: 0.9981 MB / 0.7153 GB, free: 0.8398 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.2055/2.342, allocations: 2.562 MB / 0.7178 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001525/2.344, allocations: 0.9303 MB / 0.7187 GB, free: 219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/2.344, allocations: 3.312 kB / 0.7187 GB, free: 219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005342/2.344, allocations: 354.6 kB / 0.7191 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/2.346, allocations: 428.2 kB / 0.7195 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006895/2.353, allocations: 5.715 MB / 0.725 GB, free: 217.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/2.353, allocations: 0.9868 MB / 0.726 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004161/2.354, allocations: 76.77 kB / 0.7261 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/2.354, allocations: 311 kB / 0.7264 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/2.354, allocations: 0 / 0.7264 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08859/2.443, allocations: 54.69 MB / 0.7798 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/17.65, allocations: 6.656 kB / 0.7798 GB, free: 175.5 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.163763496093452] Failed to read output from testmodel.py, exit status != 0: 17.955419250763953 17.964337882 16.017763122 Calling exit ...