Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009243, allocations: 87.61 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2525/0.2525, allocations: 44.16 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.231e-05, allocations: 4.156 kB / 444.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1609, allocations: 61.92 MB / 0.4948 GB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.609/1.77, allocations: 0.5102 GB / 1.005 GB, free: 95.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.771, allocations: 94.84 kB / 1.005 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7644/2.535, allocations: 216.7 MB / 1.217 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.033e-06/2.535, allocations: 0 / 1.217 GB, free: 78.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.507e-05/2.535, allocations: 23.94 kB / 1.217 GB, free: 78.32 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00231/2.538, allocations: 1.027 MB / 1.218 GB, free: 77.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/2.538, allocations: 19.92 kB / 1.218 GB, free: 77.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/2.538, allocations: 143 kB / 1.218 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/2.539, allocations: 0.5413 MB / 1.218 GB, free: 76.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/2.539, allocations: 84.7 kB / 1.218 GB, free: 76.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/2.54, allocations: 31.98 kB / 1.219 GB, free: 76.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008378/2.54, allocations: 0.5219 MB / 1.219 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/2.541, allocations: 0.7294 MB / 1.22 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/2.541, allocations: 4 kB / 1.22 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/2.541, allocations: 4 kB / 1.22 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/2.541, allocations: 49.17 kB / 1.22 GB, free: 75.01 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.003712/2.545, allocations: 3.954 MB / 1.224 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/2.546, allocations: 255.2 kB / 1.224 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/2.546, allocations: 129.3 kB / 1.224 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.618e-05/2.546, allocations: 91.44 kB / 1.224 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/2.546, allocations: 38.8 kB / 1.224 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/2.546, allocations: 0 / 1.224 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004892/2.551, allocations: 1.384 MB / 1.226 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/2.551, allocations: 136.5 kB / 1.226 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/2.551, allocations: 466 kB / 1.226 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/2.551, allocations: 25.7 kB / 1.226 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/2.552, allocations: 398.8 kB / 1.226 GB, free: 67.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/2.552, allocations: 126.3 kB / 1.227 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/2.552, allocations: 0 / 1.227 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001087/2.552, allocations: 370.8 kB / 1.227 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/2.552, allocations: 177.5 kB / 1.227 GB, free: 67.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/2.552, allocations: 489.1 kB / 1.228 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/2.553, allocations: 296.3 kB / 1.228 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/2.553, allocations: 4 kB / 1.228 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001187/2.554, allocations: 0.7983 MB / 1.229 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/2.554, allocations: 13.25 kB / 1.229 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/2.554, allocations: 8 kB / 1.229 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/2.555, allocations: 278 kB / 1.229 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/2.556, allocations: 123.8 kB / 1.229 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/2.557, allocations: 0.9417 MB / 1.23 GB, free: 63.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/2.557, allocations: 32.03 kB / 1.23 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/2.557, allocations: 71.98 kB / 1.23 GB, free: 63.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/2.558, allocations: 128.7 kB / 1.23 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006781/2.558, allocations: 413.5 kB / 1.231 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/2.558, allocations: 59.34 kB / 1.231 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/2.559, allocations: 0.6044 MB / 1.231 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/2.559, allocations: 4 kB / 1.231 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.559, allocations: 3.953 kB / 1.231 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/2.559, allocations: 3.984 kB / 1.231 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/2.561, allocations: 0.9763 MB / 1.232 GB, free: 61.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.561, allocations: 3.953 kB / 1.232 GB, free: 61.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/2.562, allocations: 199.8 kB / 1.232 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/2.562, allocations: 24.88 kB / 1.232 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/2.562, allocations: 11.98 kB / 1.232 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/2.563, allocations: 2.581 MB / 1.235 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.563, allocations: 256 / 1.235 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/2.564, allocations: 0.6861 MB / 1.236 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/2.564, allocations: 172.4 kB / 1.236 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/2.564, allocations: 4 kB / 1.236 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/2.565, allocations: 28.02 kB / 1.236 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/2.565, allocations: 27.97 kB / 1.236 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/2.565, allocations: 31.98 kB / 1.236 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003313/2.565, allocations: 346.9 kB / 1.236 GB, free: 57.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.565, allocations: 0 / 1.236 GB, free: 57.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001152/2.566, allocations: 298.4 kB / 1.236 GB, free: 56.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002334/2.569, allocations: 2.271 MB / 1.239 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000833/2.569, allocations: 487.2 kB / 1.239 GB, free: 54.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/2.569, allocations: 4 kB / 1.239 GB, free: 54.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007245/2.57, allocations: 358.7 kB / 1.24 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/2.571, allocations: 248.6 kB / 1.24 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/2.574, allocations: 1.043 MB / 1.241 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/2.574, allocations: 0.9412 MB / 1.242 GB, free: 51.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001258/2.575, allocations: 409.8 kB / 1.242 GB, free: 51.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/2.576, allocations: 271.3 kB / 1.242 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/2.576, allocations: 0 / 1.242 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/2.624, allocations: 24.76 MB / 1.267 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/2.624, allocations: 201.1 kB / 1.267 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/5.798, allocations: 0 / 1.267 GB, free: 26.08 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)