Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0007985/0.0007982, allocations: 97.77 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009383/0.0009383, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 45.91 MB / 344.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002756, allocations: 4 kB / 418.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 63.47 MB / 481.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4365/0.5583, allocations: 159.9 MB / 0.6265 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009158/0.5675, allocations: 5.097 MB / 0.6315 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.5685, allocations: 23.81 kB / 0.6315 GB, free: 1.406 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.5696, allocations: 266.4 kB / 0.6317 GB, free: 1.145 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004024/0.5737, allocations: 1.166 MB / 0.6329 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.5763, allocations: 0.8331 MB / 0.6337 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003087/0.5794, allocations: 2.265 MB / 0.6359 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.5803, allocations: 379.4 kB / 0.6363 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.5828, allocations: 0.9107 MB / 0.6372 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.5842, allocations: 0.74 MB / 0.6379 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.5844, allocations: 32 kB / 0.6379 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.5856, allocations: 462.3 kB / 0.6384 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.5859, allocations: 235.3 kB / 0.6386 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.5861, allocations: 161.3 kB / 0.6387 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.5871, allocations: 0.9314 MB / 0.6396 GB, free: 9.039 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5872, allocations: 0 / 0.6396 GB, free: 9.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.5872, allocations: 0 / 0.6396 GB, free: 9.039 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.5872, allocations: 4 kB / 0.6396 GB, free: 9.035 MB / 478.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.001975/0.5892, allocations: 0.9582 MB / 0.6406 GB, free: 8.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5892, allocations: 8.031 kB / 0.6406 GB, free: 8.016 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.5894, allocations: 102.5 kB / 0.6407 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.5901, allocations: 138.9 kB / 0.6408 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.5908, allocations: 492.7 kB / 0.6413 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5909, allocations: 104.3 kB / 0.6414 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.591, allocations: 51.98 kB / 0.6414 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5923, allocations: 0.8135 MB / 0.6422 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5923, allocations: 7.938 kB / 0.6422 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.5924, allocations: 23.98 kB / 0.6423 GB, free: 6.164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/0.5924, allocations: 44.94 kB / 0.6423 GB, free: 6.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5935, allocations: 0.6282 MB / 0.6429 GB, free: 5.492 MB / 478.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.004138/0.5976, allocations: 3.928 MB / 0.6468 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.5982, allocations: 358.4 kB / 0.6471 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.5984, allocations: 173.2 kB / 0.6473 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.5986, allocations: 89.38 kB / 0.6473 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5986, allocations: 38.84 kB / 0.6474 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.5986, allocations: 0 / 0.6474 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005071/0.6037, allocations: 1.666 MB / 0.649 GB, free: 14.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.6038, allocations: 132.5 kB / 0.6491 GB, free: 14.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.6045, allocations: 0.6132 MB / 0.6497 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.6045, allocations: 33.7 kB / 0.6498 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.6048, allocations: 366.8 kB / 0.6501 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6049, allocations: 142 kB / 0.6503 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.605, allocations: 16 kB / 0.6503 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6051, allocations: 382.8 kB / 0.6506 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.6055, allocations: 197.9 kB / 0.6508 GB, free: 12.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.606, allocations: 0.5047 MB / 0.6513 GB, free: 12.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.6065, allocations: 300.4 kB / 0.6516 GB, free: 12.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6065, allocations: 4 kB / 0.6516 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001369/0.6078, allocations: 0.8765 MB / 0.6525 GB, free: 11.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6079, allocations: 11.94 kB / 0.6525 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.6079, allocations: 12 kB / 0.6525 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.6093, allocations: 320.5 kB / 0.6528 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.6097, allocations: 119.8 kB / 0.6529 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.6108, allocations: 0.927 MB / 0.6538 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.6113, allocations: 47.95 kB / 0.6539 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.963e-05/0.6114, allocations: 71.98 kB / 0.6539 GB, free: 9.609 MB / 494.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.0004351/0.6119, allocations: 242.1 kB / 0.6542 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.612, allocations: 67.25 kB / 0.6542 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.6138, allocations: 0.8686 MB / 0.6551 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.6138, allocations: 4 kB / 0.6551 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6138, allocations: 0 / 0.6551 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6138, allocations: 7.984 kB / 0.6551 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.6159, allocations: 1.453 MB / 0.6565 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6159, allocations: 0 / 0.6565 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.617, allocations: 215.7 kB / 0.6567 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.6171, allocations: 21.03 kB / 0.6567 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.6172, allocations: 27.98 kB / 0.6567 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.6195, allocations: 2.672 MB / 0.6594 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6195, allocations: 12.14 kB / 0.6594 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.6209, allocations: 0.8167 MB / 0.6602 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.6212, allocations: 196.2 kB / 0.6604 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.6213, allocations: 12 kB / 0.6604 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.6216, allocations: 27.97 kB / 0.6604 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.6218, allocations: 39.97 kB / 0.6604 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.6218, allocations: 47.98 kB / 0.6605 GB, free: 2.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005056/0.6223, allocations: 423 kB / 0.6609 GB, free: 2.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6224, allocations: 0 / 0.6609 GB, free: 2.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009096/0.6233, allocations: 259.9 kB / 0.6611 GB, free: 1.754 MB / 494.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.002363/0.6256, allocations: 1.564 MB / 0.6627 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.6268, allocations: 0.5475 MB / 0.6632 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6268, allocations: 0 / 0.6632 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.6278, allocations: 418.7 kB / 0.6636 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.6293, allocations: 336.5 kB / 0.6639 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.6358, allocations: 4.234 MB / 0.668 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.6364, allocations: 0.9378 MB / 0.669 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001435/0.6379, allocations: 459.7 kB / 0.6694 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.6384, allocations: 291.2 kB / 0.6697 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.6385, allocations: 0 / 0.6697 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.6791, allocations: 22.77 MB / 0.6919 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.6794, allocations: 284.1 kB / 0.6922 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.077, allocations: 3.938 kB / 0.6922 GB, free: 1.891 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat