Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001606/0.001609, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 86.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2986/0.2986, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004753, allocations: 8 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1202, allocations: 58.86 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5685/0.6887, allocations: 142.6 MB / 0.6181 GB, free: 12.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.7043, allocations: 7.245 MB / 0.6252 GB, free: 4.824 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.7054, allocations: 23.81 kB / 0.6252 GB, free: 4.801 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.7068, allocations: 274.6 kB / 0.6255 GB, free: 4.531 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.7127, allocations: 1.272 MB / 0.6267 GB, free: 3.262 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.7171, allocations: 0.9781 MB / 0.6277 GB, free: 2.281 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.7197, allocations: 1.051 MB / 0.6287 GB, free: 1.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.7208, allocations: 379.3 kB / 0.6291 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.7236, allocations: 0.748 MB / 0.6298 GB, free: 108 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.7255, allocations: 0.5605 MB / 0.6303 GB, free: 15.54 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.7258, allocations: 32 kB / 0.6304 GB, free: 15.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.7284, allocations: 0.6281 MB / 0.631 GB, free: 14.88 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.729, allocations: 219.4 kB / 0.6312 GB, free: 14.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.7294, allocations: 165.3 kB / 0.6313 GB, free: 14.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.7319, allocations: 0.9829 MB / 0.6323 GB, free: 13.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7319, allocations: 0 / 0.6323 GB, free: 13.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.732, allocations: 4 kB / 0.6323 GB, free: 13.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.732, allocations: 0 / 0.6323 GB, free: 13.52 MB / 442.7 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.003466/0.7355, allocations: 0.9862 MB / 0.6333 GB, free: 12.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.7355, allocations: 12.03 kB / 0.6333 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003254/0.7359, allocations: 98.52 kB / 0.6334 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.7371, allocations: 132.3 kB / 0.6335 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.7385, allocations: 492.6 kB / 0.634 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.7387, allocations: 104.4 kB / 0.6341 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.7388, allocations: 47.98 kB / 0.6341 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.741, allocations: 0.8058 MB / 0.6349 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.7411, allocations: 7.891 kB / 0.6349 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.7412, allocations: 24 kB / 0.6349 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.786e-05/0.7413, allocations: 36.98 kB / 0.635 GB, free: 10.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.7433, allocations: 0.6283 MB / 0.6356 GB, free: 9.969 MB / 442.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.0078/0.7511, allocations: 3.958 MB / 0.6394 GB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.7522, allocations: 351.2 kB / 0.6398 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.7524, allocations: 24.92 kB / 0.6398 GB, free: 5.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.7524, allocations: 42.84 kB / 0.6398 GB, free: 5.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.707e-06/0.7524, allocations: 0 / 0.6398 GB, free: 5.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01006/0.7625, allocations: 1.672 MB / 0.6415 GB, free: 3.594 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.7627, allocations: 132.5 kB / 0.6416 GB, free: 3.434 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.7639, allocations: 0.6094 MB / 0.6422 GB, free: 2.816 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.764, allocations: 37.7 kB / 0.6422 GB, free: 2.773 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.7644, allocations: 397.3 kB / 0.6426 GB, free: 2.383 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.7647, allocations: 134 kB / 0.6427 GB, free: 2.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.7647, allocations: 16 kB / 0.6428 GB, free: 2.234 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7649, allocations: 338.8 kB / 0.6431 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.7656, allocations: 201.9 kB / 0.6433 GB, free: 1.695 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.7666, allocations: 0.5124 MB / 0.6438 GB, free: 1.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.7674, allocations: 287.7 kB / 0.644 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.7674, allocations: 4 kB / 0.6441 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00251/0.77, allocations: 0.834 MB / 0.6449 GB, free: 15.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.77, allocations: 12 kB / 0.6449 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.7701, allocations: 11.95 kB / 0.6449 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.7726, allocations: 329.1 kB / 0.6452 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.7734, allocations: 123.8 kB / 0.6453 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.7754, allocations: 0.9269 MB / 0.6462 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.7764, allocations: 55.92 kB / 0.6463 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.7766, allocations: 64 kB / 0.6463 GB, free: 14.37 MB / 458.7 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.000585/0.7772, allocations: 253.5 kB / 0.6466 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.7774, allocations: 67.16 kB / 0.6466 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.7801, allocations: 0.6874 MB / 0.6473 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.7802, allocations: 4 kB / 0.6473 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7802, allocations: 3.953 kB / 0.6473 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7802, allocations: 0 / 0.6473 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.7836, allocations: 1.261 MB / 0.6486 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7836, allocations: 0 / 0.6486 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/0.7866, allocations: 207.8 kB / 0.6488 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.7868, allocations: 24.97 kB / 0.6488 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.7869, allocations: 19.98 kB / 0.6488 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003281/0.7902, allocations: 2.688 MB / 0.6514 GB, free: 8.777 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.7903, allocations: 12.06 kB / 0.6514 GB, free: 8.766 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.7927, allocations: 0.8534 MB / 0.6523 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.7933, allocations: 184.2 kB / 0.6524 GB, free: 7.656 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.7935, allocations: 4 kB / 0.6524 GB, free: 7.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.7943, allocations: 31.97 kB / 0.6525 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.7945, allocations: 36.03 kB / 0.6525 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.7946, allocations: 51.91 kB / 0.6526 GB, free: 7.535 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009524/0.7956, allocations: 426.9 kB / 0.653 GB, free: 7.125 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7956, allocations: 0 / 0.653 GB, free: 7.125 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00178/0.7974, allocations: 295.9 kB / 0.6533 GB, free: 6.836 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.00439/0.8018, allocations: 1.927 MB / 0.6551 GB, free: 4.855 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003072/0.805, allocations: 0.5349 MB / 0.6557 GB, free: 4.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.805, allocations: 0 / 0.6557 GB, free: 4.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.8069, allocations: 423.4 kB / 0.6561 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.81, allocations: 323 kB / 0.6564 GB, free: 3.582 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.8241, allocations: 10.88 MB / 0.667 GB, free: 8.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.8249, allocations: 0.9455 MB / 0.6679 GB, free: 7.457 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.826, allocations: 287.3 kB / 0.6682 GB, free: 7.176 MB / 474.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8261, allocations: 0 / 0.6682 GB, free: 7.176 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.408/4.234, allocations: 19.86 MB / 0.6876 GB, free: 3.32 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat