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.5793/0.5793, allocations: 120.4 MB / 139.5 MB, free: 13 MB / 138.7 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="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 2.615e-06/2.615e-06, allocations: 0 / 216.7 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.139e-05, allocations: 3.594 kB / 216.7 MB, free: 8.617 MB / 202.7 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 0.9987/0.9987, allocations: 254.4 MB / 471.2 MB, free: 8.695 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2163/1.215, allocations: 25.9 MB / 497.1 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/1.215, allocations: 2.25 kB / 497.1 MB, free: 0.8633 MB / 442.7 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.0004649/1.216, allocations: 180.5 kB / 497.2 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/1.216, allocations: 164.2 kB / 497.4 MB, free: 0.8633 MB / 442.7 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.01755/1.233, allocations: 9.623 MB / 0.4951 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/1.234, allocations: 452.1 kB / 0.4956 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/1.234, allocations: 102.5 kB / 0.4957 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/1.234, allocations: 260.7 kB / 0.4959 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/1.234, allocations: 103 kB / 0.496 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/1.235, allocations: 20.16 kB / 0.496 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02499/1.26, allocations: 19.27 MB / 0.5149 GB, free: 2.547 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/1.26, allocations: 53.91 kB / 0.5149 GB, free: 2.5 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/1.26, allocations: 97.11 kB / 0.515 GB, free: 2.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/1.278, allocations: 11.32 MB / 0.5261 GB, free: 7.453 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.278, allocations: 0.6562 kB / 0.5261 GB, free: 7.453 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.278, allocations: 0.5 kB / 0.5261 GB, free: 7.453 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/1.278, allocations: 0.5625 kB / 0.5261 GB, free: 7.453 MB / 474.7 MB 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.003455/1.281, allocations: 1.388 MB / 0.5274 GB, free: 6.039 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.281, allocations: 8.031 kB / 0.5274 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/1.281, allocations: 66.72 kB / 0.5275 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/1.281, allocations: 38.42 kB / 0.5275 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/1.282, allocations: 179.8 kB / 0.5277 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.282, allocations: 12.88 kB / 0.5277 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/1.282, allocations: 24.75 kB / 0.5277 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/1.282, allocations: 356.4 kB / 0.5281 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.282, allocations: 4.375 kB / 0.5281 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.282, allocations: 12 kB / 0.5281 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/1.282, allocations: 15.98 kB / 0.5281 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/1.282, allocations: 215.8 kB / 0.5283 GB, free: 5.09 MB / 474.7 MB 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.0103/1.293, allocations: 6.114 MB / 0.5343 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/1.293, allocations: 115 kB / 0.5344 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/1.293, allocations: 81.84 kB / 0.5345 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05951/1.352, allocations: 32.95 MB / 0.5666 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.352, allocations: 34.55 kB / 0.5667 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 2.224e-06/1.352, allocations: 0 / 0.5667 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.0007948/1.353, allocations: 456.8 kB / 0.5671 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.353, allocations: 55.34 kB / 0.5672 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/1.353, allocations: 240 kB / 0.5674 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/1.353, allocations: 26.45 kB / 0.5674 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/1.353, allocations: 150.6 kB / 0.5676 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/1.354, allocations: 169.2 kB / 0.5677 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/1.354, allocations: 57.66 kB / 0.5678 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/1.354, allocations: 342.8 kB / 0.5681 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/1.354, allocations: 84.47 kB / 0.5682 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/1.354, allocations: 146.1 kB / 0.5683 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/1.354, allocations: 276.5 kB / 0.5686 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/1.354, allocations: 0 / 0.5686 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003414/1.354, allocations: 339.8 kB / 0.5689 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.354, allocations: 4 kB / 0.5689 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.355, allocations: 0.5156 kB / 0.5689 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/1.355, allocations: 120.9 kB / 0.569 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/1.355, allocations: 7.469 kB / 0.569 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003358/1.355, allocations: 0.6073 MB / 0.5696 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/1.355, allocations: 35.7 kB / 0.5697 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/1.355, allocations: 8 kB / 0.5697 GB, free: 10.75 MB / 0.5105 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.0001168/1.355, allocations: 141.8 kB / 0.5698 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/1.355, allocations: 28.42 kB / 0.5698 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/1.356, allocations: 0.8111 MB / 0.5706 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003343/1.356, allocations: 390.7 kB / 0.571 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.356, allocations: 0 / 0.571 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.356, allocations: 3.984 kB / 0.571 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.358, allocations: 1.383 MB / 0.5724 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.358, allocations: 6.094 kB / 0.5724 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.358, allocations: 66.64 kB / 0.5724 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/1.358, allocations: 106.9 kB / 0.5725 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/1.358, allocations: 13.19 kB / 0.5725 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000294/1.358, allocations: 0.6277 MB / 0.5732 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.358, allocations: 6.625 kB / 0.5732 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/1.359, allocations: 0.6343 MB / 0.5738 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/1.359, allocations: 55.69 kB / 0.5738 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.359, allocations: 23.89 kB / 0.5739 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.359, allocations: 15.94 kB / 0.5739 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/1.359, allocations: 45.78 kB / 0.5739 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.359, allocations: 20 kB / 0.5739 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002176/1.359, allocations: 291 kB / 0.5742 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.359, allocations: 0 / 0.5742 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002647/1.362, allocations: 1.36 MB / 0.5755 GB, free: 4.555 MB / 0.5105 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.005019/1.367, allocations: 2.903 MB / 0.5784 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005121/1.367, allocations: 472.3 kB / 0.5788 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.367, allocations: 4 kB / 0.5788 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/1.368, allocations: 181.6 kB / 0.579 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/1.368, allocations: 217.1 kB / 0.5792 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/1.373, allocations: 4.166 MB / 0.5833 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/1.373, allocations: 234.3 kB / 0.5835 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001313/1.373, allocations: 41.08 kB / 0.5835 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.373, allocations: 164.4 kB / 0.5837 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/1.373, allocations: 0 / 0.5837 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07175/1.445, allocations: 61.04 MB / 0.6433 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.845/11.29, allocations: 8.484 kB / 0.6433 GB, free: 15.45 MB / 0.5886 GB " [Timeout remaining time 648] (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: 12.903556055389345] Failed to read output from testmodel.py, exit status != 0: 11.61841547768563 11.726174367 10.446335556 Calling exit ...