Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.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.906/0.906, allocations: 153.8 MB / 170.9 MB, free: 13.71 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.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 17.7 kB / 247 MB, free: 14.89 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06036/0.06084, allocations: 33.34 MB / 280.4 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.TestSteamEngine): time 1.678/1.739, allocations: 307.5 MB / 0.5741 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04312/1.782, allocations: 29.16 MB / 0.6026 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/1.782, allocations: 7.938 kB / 0.6026 GB, free: 13.19 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17:writable] Warning: Connector C1 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/Machines/SteamEngine.mo:38:3-39:44:writable] Warning: Connector C2 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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.0007368/1.783, allocations: 224.5 kB / 0.6028 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/1.783, allocations: 167 kB / 0.603 GB, free: 12.81 MB / 494.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h 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.02873/1.812, allocations: 9.683 MB / 0.6124 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007528/1.813, allocations: 426.1 kB / 0.6128 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/1.813, allocations: 104.5 kB / 0.6129 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/1.813, allocations: 179.2 kB / 0.6131 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/1.813, allocations: 143.3 kB / 0.6132 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/1.813, allocations: 16 kB / 0.6132 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03609/1.85, allocations: 20.54 MB / 0.6333 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/1.85, allocations: 55.78 kB / 0.6333 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/1.85, allocations: 151.2 kB / 0.6335 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0206/1.87, allocations: 8.598 MB / 0.6419 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.87, allocations: 0 / 0.6419 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.923e-06/1.87, allocations: 0 / 0.6419 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.257e-06/1.87, allocations: 0 / 0.6419 GB, free: 4.891 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004964/1.875, allocations: 1.464 MB / 0.6433 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.876, allocations: 8.031 kB / 0.6433 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.646e-05/1.876, allocations: 8.625 kB / 0.6433 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.064e-05/1.876, allocations: 74.66 kB / 0.6434 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/1.876, allocations: 32.7 kB / 0.6434 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/1.876, allocations: 239.6 kB / 0.6437 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/1.876, allocations: 16.44 kB / 0.6437 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/1.876, allocations: 31.94 kB / 0.6437 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/1.877, allocations: 349.1 kB / 0.644 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.877, allocations: 0 / 0.644 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/1.877, allocations: 11.94 kB / 0.6441 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/1.877, allocations: 15.98 kB / 0.6441 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/1.877, allocations: 216.8 kB / 0.6443 GB, free: 2.312 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.02186/1.899, allocations: 9.931 MB / 0.654 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/1.899, allocations: 115 kB / 0.6541 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/1.899, allocations: 81.7 kB / 0.6542 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1271/2.026, allocations: 55.52 MB / 0.7084 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/2.026, allocations: 38.55 kB / 0.7084 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.164e-06/2.026, allocations: 0 / 0.7084 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.001206/2.027, allocations: 0.5095 MB / 0.7089 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/2.028, allocations: 55.41 kB / 0.709 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/2.028, allocations: 232.9 kB / 0.7092 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/2.028, allocations: 29.7 kB / 0.7092 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/2.028, allocations: 149.1 kB / 0.7094 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/2.028, allocations: 174.4 kB / 0.7095 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.458e-05/2.028, allocations: 53.69 kB / 0.7096 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001575/2.028, allocations: 346.7 kB / 0.7099 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/2.028, allocations: 80.55 kB / 0.71 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/2.029, allocations: 153.1 kB / 0.7101 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/2.029, allocations: 265.8 kB / 0.7104 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/2.029, allocations: 3.938 kB / 0.7104 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005038/2.029, allocations: 326 kB / 0.7107 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/2.029, allocations: 8.094 kB / 0.7107 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/2.029, allocations: 3.938 kB / 0.7107 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/2.03, allocations: 120.7 kB / 0.7108 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/2.03, allocations: 8.188 kB / 0.7108 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/2.03, allocations: 0.6107 MB / 0.7114 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/2.03, allocations: 39.66 kB / 0.7115 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/2.03, allocations: 8 kB / 0.7115 GB, free: 6.664 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001516/2.031, allocations: 144.2 kB / 0.7116 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/2.031, allocations: 27.81 kB / 0.7116 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/2.032, allocations: 0.7926 MB / 0.7124 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005275/2.032, allocations: 384.3 kB / 0.7128 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/2.032, allocations: 4 kB / 0.7128 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/2.032, allocations: 3.984 kB / 0.7128 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/2.034, allocations: 1.476 MB / 0.7142 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.034, allocations: 4 kB / 0.7142 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/2.034, allocations: 71.91 kB / 0.7143 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/2.034, allocations: 80.81 kB / 0.7144 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/2.034, allocations: 19.98 kB / 0.7144 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004903/2.035, allocations: 0.6303 MB / 0.715 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.035, allocations: 12.03 kB / 0.715 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/2.036, allocations: 0.6367 MB / 0.7156 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/2.036, allocations: 128.7 kB / 0.7158 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/2.036, allocations: 31.88 kB / 0.7158 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/2.036, allocations: 16 kB / 0.7158 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/2.036, allocations: 35.84 kB / 0.7158 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/2.036, allocations: 16 kB / 0.7159 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003218/2.036, allocations: 291 kB / 0.7161 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/2.036, allocations: 4 kB / 0.7161 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003639/2.04, allocations: 1.353 MB / 0.7175 GB, free: 208 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1953/2.235, allocations: 2.704 MB / 0.7201 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008239/2.236, allocations: 463.5 kB / 0.7206 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/2.236, allocations: 1.156 kB / 0.7206 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/2.236, allocations: 177.4 kB / 0.7207 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/2.238, allocations: 217 kB / 0.7209 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/2.243, allocations: 4.17 MB / 0.725 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/2.243, allocations: 0.8379 MB / 0.7258 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001744/2.243, allocations: 45.23 kB / 0.7259 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/2.243, allocations: 161.2 kB / 0.726 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/2.243, allocations: 2.812 kB / 0.726 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08124/2.325, allocations: 59.9 MB / 0.7845 GB, free: 165 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/18.17, allocations: 5.922 kB / 0.7845 GB, free: 165 MB / 0.5919 GB " [Timeout remaining time 641] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.690298535046168] Failed to read output from testmodel.py, exit status != 0: 18.517392281035427 18.525971636 16.653424721 Calling exit ...