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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009174, allocations: 96.67 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000936/0.0009363, allocations: 187.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 9.875 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4802/0.6389, allocations: 142.6 MB / 0.5998 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.6461, allocations: 5.515 MB / 0.6052 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.647, allocations: 23.81 kB / 0.6052 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007877/0.6478, allocations: 278.6 kB / 0.6054 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.651, allocations: 1.067 MB / 0.6065 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.6534, allocations: 0.8458 MB / 0.6073 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.655, allocations: 1.043 MB / 0.6083 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006259/0.6556, allocations: 387.5 kB / 0.6087 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.6572, allocations: 0.7401 MB / 0.6094 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.6582, allocations: 0.5567 MB / 0.61 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.6583, allocations: 32 kB / 0.61 GB, free: 8.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.6598, allocations: 499.4 kB / 0.6105 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.66, allocations: 215.4 kB / 0.6107 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.6603, allocations: 165.4 kB / 0.6108 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.6614, allocations: 0.9211 MB / 0.6117 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6614, allocations: 0 / 0.6117 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6614, allocations: 0 / 0.6117 GB, free: 6.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.6614, allocations: 0 / 0.6117 GB, free: 6.871 MB / 446.1 MB 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.002003/0.6634, allocations: 0.9543 MB / 0.6127 GB, free: 5.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6635, allocations: 12.56 kB / 0.6127 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.6636, allocations: 95.39 kB / 0.6128 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007498/0.6644, allocations: 135.1 kB / 0.6129 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.6652, allocations: 496.5 kB / 0.6134 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.6654, allocations: 100.4 kB / 0.6135 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.6655, allocations: 51.98 kB / 0.6135 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6666, allocations: 0.8097 MB / 0.6143 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.6667, allocations: 0 / 0.6143 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.6667, allocations: 23.94 kB / 0.6143 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/0.6668, allocations: 40.92 kB / 0.6144 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.6677, allocations: 0.6252 MB / 0.615 GB, free: 3.359 MB / 446.1 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.004071/0.6718, allocations: 3.961 MB / 0.6189 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.6724, allocations: 361 kB / 0.6192 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.6725, allocations: 89.38 kB / 0.6193 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.6725, allocations: 38.84 kB / 0.6193 GB, free: 14.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.6725, allocations: 0 / 0.6193 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005177/0.6777, allocations: 1.669 MB / 0.621 GB, free: 12.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.6778, allocations: 136.5 kB / 0.6211 GB, free: 12.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.6785, allocations: 0.6016 MB / 0.6217 GB, free: 12.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.6785, allocations: 37.7 kB / 0.6217 GB, free: 12.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.6788, allocations: 370.8 kB / 0.6221 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.6789, allocations: 146 kB / 0.6222 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.6789, allocations: 12 kB / 0.6222 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6791, allocations: 374.8 kB / 0.6226 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.6794, allocations: 197.9 kB / 0.6228 GB, free: 10.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.6799, allocations: 0.5086 MB / 0.6233 GB, free: 10.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.6804, allocations: 304.5 kB / 0.6235 GB, free: 10.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6804, allocations: 4 kB / 0.6235 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001335/0.6817, allocations: 0.8724 MB / 0.6244 GB, free: 9.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6818, allocations: 12 kB / 0.6244 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6818, allocations: 8 kB / 0.6244 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.6831, allocations: 318.7 kB / 0.6247 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.6835, allocations: 123.8 kB / 0.6248 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/0.6845, allocations: 0.9309 MB / 0.6257 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.6851, allocations: 51.81 kB / 0.6258 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.6852, allocations: 60 kB / 0.6259 GB, free: 7.613 MB / 462.1 MB 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 () * Number of clocked 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.0003855/0.6856, allocations: 252.8 kB / 0.6261 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.6858, allocations: 67.2 kB / 0.6262 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.6876, allocations: 0.8825 MB / 0.627 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.6876, allocations: 4 kB / 0.627 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6877, allocations: 0 / 0.627 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6877, allocations: 3.984 kB / 0.627 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.6897, allocations: 1.437 MB / 0.6284 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6897, allocations: 4 kB / 0.6284 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6907, allocations: 211.9 kB / 0.6286 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.262e-05/0.6908, allocations: 28.78 kB / 0.6287 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.6908, allocations: 23.95 kB / 0.6287 GB, free: 4.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.6927, allocations: 2.696 MB / 0.6313 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6927, allocations: 4.031 kB / 0.6313 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.6939, allocations: 0.8779 MB / 0.6322 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.6942, allocations: 184.3 kB / 0.6324 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.6943, allocations: 16 kB / 0.6324 GB, free: 428 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.6947, allocations: 27.97 kB / 0.6324 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.6948, allocations: 39.89 kB / 0.6324 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.6949, allocations: 47.92 kB / 0.6325 GB, free: 312 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005325/0.6954, allocations: 427 kB / 0.6329 GB, free: 15.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6954, allocations: 0 / 0.6329 GB, free: 15.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009265/0.6964, allocations: 259.9 kB / 0.6331 GB, free: 15.64 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * 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.002276/0.6987, allocations: 2.025 MB / 0.6351 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.6998, allocations: 0.5546 MB / 0.6357 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6998, allocations: 0 / 0.6357 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.7008, allocations: 414.3 kB / 0.6361 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.7024, allocations: 334.9 kB / 0.6364 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009147/0.7115, allocations: 10.86 MB / 0.647 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.7121, allocations: 0.9417 MB / 0.6479 GB, free: 164 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.7135, allocations: 467.4 kB / 0.6483 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.7141, allocations: 291.2 kB / 0.6486 GB, free: 15.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7141, allocations: 0 / 0.6486 GB, free: 15.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.7601, allocations: 22.74 MB / 0.6708 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.7604, allocations: 282.6 kB / 0.6711 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.071, allocations: 0 / 0.6711 GB, free: 8.672 MB / 0.4981 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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat