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 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.827/0.827, allocations: 152.6 MB / 168.9 MB, free: 15.06 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.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004952, allocations: 17.5 kB / 244.5 MB, free: 15.95 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05936/0.05985, allocations: 33.06 MB / 277.5 MB, free: 1.137 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.TestSteamEngine): time 1.64/1.7, allocations: 301 MB / 0.565 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03761/1.738, allocations: 29.06 MB / 0.5934 GB, free: 5.293 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/1.738, allocations: 4 kB / 0.5934 GB, free: 5.289 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 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). [/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). Notification: Performance of NFTyping.typeComponents: time 0.000595/1.739, allocations: 228.1 kB / 0.5936 GB, free: 5.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/1.739, allocations: 167 kB / 0.5938 GB, free: 4.902 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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.02457/1.764, allocations: 9.667 MB / 0.6032 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006539/1.764, allocations: 434 kB / 0.6036 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/1.764, allocations: 96.64 kB / 0.6037 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/1.765, allocations: 183.2 kB / 0.6039 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/1.765, allocations: 143.3 kB / 0.604 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/1.765, allocations: 20 kB / 0.604 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03405/1.799, allocations: 20.52 MB / 0.6241 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/1.799, allocations: 51.78 kB / 0.6241 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002648/1.799, allocations: 159.2 kB / 0.6243 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/1.819, allocations: 8.598 MB / 0.6327 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.819, allocations: 0 / 0.6327 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/1.819, allocations: 0 / 0.6327 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.819, allocations: 0 / 0.6327 GB, free: 12.99 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.005018/1.824, allocations: 1.452 MB / 0.6341 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.824, allocations: 8.031 kB / 0.6341 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.907e-05/1.825, allocations: 74.7 kB / 0.6342 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.352e-05/1.825, allocations: 36.64 kB / 0.6342 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/1.825, allocations: 243.8 kB / 0.6345 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.825, allocations: 24.38 kB / 0.6345 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/1.825, allocations: 16 kB / 0.6345 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/1.825, allocations: 345.2 kB / 0.6348 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.825, allocations: 3.938 kB / 0.6348 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.826, allocations: 12 kB / 0.6348 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/1.826, allocations: 15.98 kB / 0.6349 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/1.826, allocations: 212.6 kB / 0.6351 GB, free: 10.44 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.0215/1.847, allocations: 9.954 MB / 0.6448 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/1.848, allocations: 111 kB / 0.6449 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/1.848, allocations: 85.7 kB / 0.645 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1249/1.973, allocations: 52.01 MB / 0.6958 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.973, allocations: 30.56 kB / 0.6958 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=52): time 2.475e-06/1.973, allocations: 0 / 0.6958 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52): time 0.001156/1.974, allocations: 0.5213 MB / 0.6963 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.974, allocations: 51.41 kB / 0.6963 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/1.974, allocations: 230.1 kB / 0.6966 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/1.974, allocations: 33.7 kB / 0.6966 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.974, allocations: 149.2 kB / 0.6967 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.974, allocations: 174.4 kB / 0.6969 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.723e-05/1.974, allocations: 65.58 kB / 0.697 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.975, allocations: 342.8 kB / 0.6973 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/1.975, allocations: 76.55 kB / 0.6974 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/1.975, allocations: 149.3 kB / 0.6975 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/1.975, allocations: 266.6 kB / 0.6978 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.975, allocations: 0 / 0.6978 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005025/1.976, allocations: 337.9 kB / 0.6981 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.976, allocations: 8 kB / 0.6981 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.976, allocations: 0 / 0.6981 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/1.976, allocations: 112.8 kB / 0.6982 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/1.976, allocations: 23.86 kB / 0.6982 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000505/1.977, allocations: 0.6056 MB / 0.6988 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/1.977, allocations: 35.7 kB / 0.6988 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/1.977, allocations: 8 kB / 0.6989 GB, free: 2.969 MB / 0.5762 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.0001475/1.977, allocations: 146.2 kB / 0.699 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/1.977, allocations: 27.77 kB / 0.699 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000952/1.978, allocations: 0.785 MB / 0.6998 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005269/1.978, allocations: 380.3 kB / 0.7001 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.978, allocations: 0 / 0.7001 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.978, allocations: 0 / 0.7001 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/1.98, allocations: 1.476 MB / 0.7016 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.98, allocations: 4.656 kB / 0.7016 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/1.98, allocations: 75.84 kB / 0.7017 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/1.981, allocations: 88.81 kB / 0.7018 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/1.981, allocations: 19.94 kB / 0.7018 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004664/1.981, allocations: 0.6265 MB / 0.7024 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.981, allocations: 7.938 kB / 0.7024 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/1.982, allocations: 0.6482 MB / 0.703 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/1.982, allocations: 124.8 kB / 0.7031 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/1.982, allocations: 31.84 kB / 0.7032 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/1.982, allocations: 8 kB / 0.7032 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.982, allocations: 43.83 kB / 0.7032 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.982, allocations: 20 kB / 0.7032 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003148/1.983, allocations: 291 kB / 0.7035 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.983, allocations: 0 / 0.7035 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003408/1.986, allocations: 1.345 MB / 0.7048 GB, free: 12.53 MB / 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.006624/1.993, allocations: 2.728 MB / 0.7075 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007525/1.993, allocations: 456.9 kB / 0.7079 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.993, allocations: 384 / 0.7079 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.994, allocations: 187.5 kB / 0.7081 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.995, allocations: 222.8 kB / 0.7083 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/2.001, allocations: 4.149 MB / 0.7124 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/2.001, allocations: 0.844 MB / 0.7132 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001657/2.001, allocations: 46.94 kB / 0.7132 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/2.002, allocations: 155.4 kB / 0.7134 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/2.002, allocations: 0 / 0.7134 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2542/2.256, allocations: 59.81 MB / 0.7718 GB, free: 179.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/17.44, allocations: 9.953 kB / 0.7718 GB, free: 179.4 MB / 0.5919 GB " [Timeout remaining time 642] (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: 19.45478847902268] Failed to read output from testmodel.py, exit status != 0: 17.715054116910324 17.724870831 15.903270836 Calling exit ...