Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.8387/0.8387, allocations: 153.8 MB / 170.9 MB, free: 13.93 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.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00051/0.00051, allocations: 16 kB / 247 MB, free: 15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06705/0.06756, allocations: 33.35 MB / 280.4 MB, free: 15.25 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.TestStaticWaterWaterExchanger): time 1.765/1.832, allocations: 308.9 MB / 0.5755 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03242/1.865, allocations: 23.12 MB / 0.5981 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/1.865, allocations: 8 kB / 0.5981 GB, free: 1.746 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89:37: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/StaticWaterWaterExchanger.mo:90:3-92: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.00056/1.866, allocations: 202.3 kB / 0.5983 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/1.866, allocations: 317.8 kB / 0.5986 GB, free: 1.238 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.01876/1.885, allocations: 7.314 MB / 0.6057 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/1.886, allocations: 0.9763 MB / 0.6067 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/1.887, allocations: 240.8 kB / 0.6069 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/1.887, allocations: 394.6 kB / 0.6073 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/1.888, allocations: 326.5 kB / 0.6076 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/1.888, allocations: 52 kB / 0.6076 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02693/1.915, allocations: 15.4 MB / 0.6227 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/1.915, allocations: 127.5 kB / 0.6228 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005662/1.915, allocations: 358.2 kB / 0.6231 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/1.932, allocations: 6.948 MB / 0.6299 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.932, allocations: 0 / 0.6299 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.932, allocations: 0 / 0.6299 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.932, allocations: 0 / 0.6299 GB, free: 1.078 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004936/1.937, allocations: 1.589 MB / 0.6315 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.937, allocations: 12.03 kB / 0.6315 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.631e-05/1.937, allocations: 21.12 kB / 0.6315 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/1.937, allocations: 123.4 kB / 0.6316 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/1.937, allocations: 80.41 kB / 0.6317 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/1.937, allocations: 346.4 kB / 0.632 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/1.938, allocations: 126.1 kB / 0.6321 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.136e-05/1.938, allocations: 48 kB / 0.6322 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/1.939, allocations: 0.7757 MB / 0.6329 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.939, allocations: 3.938 kB / 0.6329 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/1.939, allocations: 28 kB / 0.633 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/1.939, allocations: 35.95 kB / 0.633 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/1.94, allocations: 0.567 MB / 0.6336 GB, free: 13.17 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.08065/2.021, allocations: 36.65 MB / 0.6693 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/2.022, allocations: 471.3 kB / 0.6698 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/2.023, allocations: 278.8 kB / 0.6701 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08199/2.105, allocations: 36.39 MB / 0.7056 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/2.105, allocations: 38.86 kB / 0.7056 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 2.314e-06/2.105, allocations: 0 / 0.7056 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126): time 0.01789/2.123, allocations: 3.246 MB / 0.7088 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/2.123, allocations: 55.41 kB / 0.7089 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/2.123, allocations: 336.4 kB / 0.7092 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/2.123, allocations: 29.7 kB / 0.7092 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/2.123, allocations: 233.7 kB / 0.7094 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/2.124, allocations: 428.1 kB / 0.7098 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/2.124, allocations: 134 kB / 0.71 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001757/2.124, allocations: 366.8 kB / 0.7103 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/2.125, allocations: 277.6 kB / 0.7106 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/2.125, allocations: 389.2 kB / 0.711 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/2.127, allocations: 0.7263 MB / 0.7117 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/2.127, allocations: 4 kB / 0.7117 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004396/2.131, allocations: 1.225 MB / 0.7129 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/2.131, allocations: 4 kB / 0.7129 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/2.131, allocations: 11.94 kB / 0.7129 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/2.135, allocations: 1.383 MB / 0.7142 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/2.135, allocations: 12 kB / 0.7142 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/2.138, allocations: 1.398 MB / 0.7156 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/2.138, allocations: 95.23 kB / 0.7157 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/2.138, allocations: 23.98 kB / 0.7157 GB, free: 1.285 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002732/2.139, allocations: 182.5 kB / 0.7159 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/2.139, allocations: 59.58 kB / 0.716 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2029/2.342, allocations: 3.83 MB / 0.7197 GB, free: 216.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002986/2.345, allocations: 1.239 MB / 0.7209 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/2.345, allocations: 2.625 kB / 0.7209 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/2.345, allocations: 7.078 kB / 0.7209 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/2.351, allocations: 2.823 MB / 0.7237 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/2.351, allocations: 0 / 0.7237 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/2.351, allocations: 102.2 kB / 0.7238 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/2.353, allocations: 0.8548 MB / 0.7246 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/2.353, allocations: 25.08 kB / 0.7246 GB, free: 216 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/2.355, allocations: 1.474 MB / 0.7261 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.355, allocations: 0 / 0.7261 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/2.359, allocations: 1.464 MB / 0.7275 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/2.359, allocations: 165.7 kB / 0.7277 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/2.359, allocations: 33.02 kB / 0.7277 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/2.36, allocations: 29.12 kB / 0.7277 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/2.36, allocations: 55.62 kB / 0.7278 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/2.36, allocations: 23.56 kB / 0.7278 GB, free: 214.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003693/2.36, allocations: 385.4 kB / 0.7282 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/2.36, allocations: 2.938 kB / 0.7282 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002498/2.363, allocations: 1.062 MB / 0.7292 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00828/2.371, allocations: 3.109 MB / 0.7322 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001876/2.373, allocations: 1.07 MB / 0.7333 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/2.373, allocations: 0 / 0.7333 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/2.374, allocations: 472.6 kB / 0.7337 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/2.376, allocations: 430.6 kB / 0.7341 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/2.386, allocations: 6.525 MB / 0.7405 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/2.386, allocations: 0.9904 MB / 0.7415 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003187/2.387, allocations: 71.14 kB / 0.7415 GB, free: 208 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/2.387, allocations: 301.8 kB / 0.7418 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/2.387, allocations: 0 / 0.7418 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0766/2.464, allocations: 59.33 MB / 0.7998 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/17.71, allocations: 7.969 kB / 0.7998 GB, free: 151.8 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticWaterWaterExchanger.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.374023722019047] Failed to read output from testmodel.py, exit status != 0: 18.037033118016552 18.046672744 16.11286931 Calling exit ...