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.8216/0.8216, allocations: 153.8 MB / 173.4 MB, free: 4.867 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.0004836/0.0004836, allocations: 15.97 kB / 250.6 MB, free: 4.359 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1821, allocations: 33.35 MB / 283.9 MB, free: 1.723 MB / 222.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.853/2.036, allocations: 307.3 MB / 0.5774 GB, free: 17.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02882/2.064, allocations: 25.9 MB / 0.6027 GB, free: 6.078 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/2.065, allocations: 2.406 kB / 0.6027 GB, free: 6.078 MB / 478.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.0008327/2.066, allocations: 175 kB / 0.6029 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005996/2.066, allocations: 166.6 kB / 0.603 GB, free: 5.906 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. [/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.02472/2.091, allocations: 9.55 MB / 0.6124 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/2.092, allocations: 438.1 kB / 0.6128 GB, free: 324 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/2.092, allocations: 98.17 kB / 0.6129 GB, free: 260 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/2.092, allocations: 186.1 kB / 0.6131 GB, free: 144 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/2.092, allocations: 138 kB / 0.6132 GB, free: 60 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/2.092, allocations: 18.81 kB / 0.6132 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03617/2.128, allocations: 20.32 MB / 0.6331 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/2.128, allocations: 55.66 kB / 0.6331 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/2.129, allocations: 119.4 kB / 0.6332 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02165/2.15, allocations: 8.606 MB / 0.6416 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/2.15, allocations: 7.984 kB / 0.6416 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/2.15, allocations: 0 / 0.6416 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.471e-05/2.15, allocations: 0 / 0.6416 GB, free: 3.578 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004647/2.155, allocations: 1.373 MB / 0.643 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/2.155, allocations: 12.53 kB / 0.643 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.386e-05/2.155, allocations: 8.625 kB / 0.643 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/2.155, allocations: 75.45 kB / 0.6431 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/2.155, allocations: 32.7 kB / 0.6431 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/2.155, allocations: 191 kB / 0.6433 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/2.155, allocations: 16.38 kB / 0.6433 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/2.156, allocations: 23.56 kB / 0.6433 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/2.156, allocations: 361.1 kB / 0.6437 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/2.156, allocations: 0 / 0.6437 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/2.156, allocations: 5.188 kB / 0.6437 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/2.156, allocations: 19.98 kB / 0.6437 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/2.156, allocations: 220.6 kB / 0.6439 GB, free: 1.168 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.01831/2.175, allocations: 6.102 MB / 0.6499 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/2.175, allocations: 118.8 kB / 0.65 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/2.175, allocations: 89.7 kB / 0.6501 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1113/2.286, allocations: 32.96 MB / 0.6822 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/2.286, allocations: 38.55 kB / 0.6823 GB, free: 9.738 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.194e-06/2.286, allocations: 0 / 0.6823 GB, free: 9.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001191/2.288, allocations: 452.6 kB / 0.6827 GB, free: 9.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/2.288, allocations: 51.41 kB / 0.6828 GB, free: 9.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/2.288, allocations: 228.2 kB / 0.683 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/2.288, allocations: 25.7 kB / 0.683 GB, free: 8.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/2.288, allocations: 149.1 kB / 0.6831 GB, free: 8.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/2.288, allocations: 178.4 kB / 0.6833 GB, free: 8.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/2.288, allocations: 58.44 kB / 0.6834 GB, free: 8.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001652/2.288, allocations: 342.8 kB / 0.6837 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/2.289, allocations: 88.47 kB / 0.6838 GB, free: 8.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/2.289, allocations: 141 kB / 0.6839 GB, free: 7.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/2.289, allocations: 277.5 kB / 0.6842 GB, free: 7.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.289, allocations: 0 / 0.6842 GB, free: 7.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005757/2.29, allocations: 352.3 kB / 0.6845 GB, free: 7.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/2.29, allocations: 8.188 kB / 0.6845 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/2.29, allocations: 4 kB / 0.6845 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/2.29, allocations: 108.8 kB / 0.6846 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/2.29, allocations: 11.98 kB / 0.6846 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005458/2.291, allocations: 0.6081 MB / 0.6852 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/2.291, allocations: 36.44 kB / 0.6853 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/2.291, allocations: 12.56 kB / 0.6853 GB, free: 6.531 MB / 0.545 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.0001632/2.291, allocations: 141.9 kB / 0.6854 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/2.291, allocations: 24.75 kB / 0.6854 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/2.292, allocations: 0.8049 MB / 0.6862 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005441/2.293, allocations: 388 kB / 0.6866 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.293, allocations: 0 / 0.6866 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/2.293, allocations: 1.594 kB / 0.6866 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/2.295, allocations: 1.381 MB / 0.688 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/2.295, allocations: 4.906 kB / 0.688 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/2.295, allocations: 67.91 kB / 0.688 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/2.295, allocations: 96.78 kB / 0.6881 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/2.295, allocations: 20.83 kB / 0.6881 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000519/2.295, allocations: 0.6284 MB / 0.6887 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/2.295, allocations: 12.69 kB / 0.6888 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007898/2.296, allocations: 0.647 MB / 0.6894 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/2.296, allocations: 51.58 kB / 0.6894 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/2.296, allocations: 27.88 kB / 0.6895 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/2.297, allocations: 12 kB / 0.6895 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/2.297, allocations: 43.83 kB / 0.6895 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/2.297, allocations: 16.81 kB / 0.6895 GB, free: 1.895 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003317/2.297, allocations: 295 kB / 0.6898 GB, free: 1.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.297, allocations: 0 / 0.6898 GB, free: 1.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003693/2.301, allocations: 1.349 MB / 0.6911 GB, free: 264 kB / 0.545 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.007963/2.309, allocations: 2.72 MB / 0.6938 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008099/2.309, allocations: 466.8 kB / 0.6942 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/2.309, allocations: 4 kB / 0.6942 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/2.31, allocations: 189.2 kB / 0.6944 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/2.311, allocations: 214.6 kB / 0.6946 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/2.318, allocations: 4.172 MB / 0.6987 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/2.318, allocations: 237.5 kB / 0.6989 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001917/2.319, allocations: 46.33 kB / 0.699 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/2.319, allocations: 163.4 kB / 0.6991 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/2.319, allocations: 0 / 0.6991 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/2.424, allocations: 60.68 MB / 0.7584 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/18.88, allocations: 13.72 kB / 0.7584 GB, free: 11.85 MB / 0.6231 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: 21.25733929197304] Failed to read output from testmodel.py, exit status != 0: 19.484721095999703 19.496374108 17.343462567 Calling exit ...