Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.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.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",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.001051/0.001051, allocations: 96.92 kB / 16.99 MB, free: 5.941 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.001153/0.001153, allocations: 183.4 kB / 17.87 MB, free: 5.609 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.413/1.413, 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.2247/0.2247, allocations: 44.23 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003329, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.03781/0.1863, allocations: 31.86 MB / 0.4916 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3715/0.5578, allocations: 18.37 MB / 0.5096 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.5586, allocations: 11.91 kB / 0.5096 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.5596, allocations: 238 kB / 0.5098 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.5727, allocations: 3.574 MB / 0.5133 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006114/0.5788, allocations: 1.625 MB / 0.5149 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.5805, allocations: 0.6841 MB / 0.5155 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.581, allocations: 276.9 kB / 0.5158 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02039/0.6014, allocations: 9.072 MB / 0.5247 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009265/0.6024, allocations: 249.5 kB / 0.5249 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.6025, allocations: 19.25 kB / 0.5249 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0195/0.622, allocations: 7.108 MB / 0.5319 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.6224, allocations: 93.19 kB / 0.5319 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.6227, allocations: 120.5 kB / 0.5321 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007399/0.6301, allocations: 3.054 MB / 0.535 GB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6302, allocations: 0 / 0.535 GB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6302, allocations: 0 / 0.535 GB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.6302, allocations: 0 / 0.535 GB, free: 9.859 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003612/0.6338, allocations: 1.221 MB / 0.5362 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.6339, allocations: 8.031 kB / 0.5362 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.788e-05/0.634, allocations: 80.61 kB / 0.5363 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.6356, allocations: 237.8 kB / 0.5365 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.6361, allocations: 384.2 kB / 0.5369 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.6361, allocations: 30.75 kB / 0.5369 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.6362, allocations: 41.2 kB / 0.537 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6376, allocations: 0.6925 MB / 0.5377 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6377, allocations: 0 / 0.5377 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.6377, allocations: 20.47 kB / 0.5377 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.6377, allocations: 8 kB / 0.5377 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.6391, allocations: 0.5931 MB / 0.5383 GB, free: 6.934 MB / 382.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.003239/0.6424, allocations: 3.305 MB / 0.5415 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.6436, allocations: 460 kB / 0.5419 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1219/0.7656, allocations: 56.34 MB / 0.597 GB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7e-05/0.7657, allocations: 42.38 kB / 0.597 GB, free: 5.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 3.186e-06/0.7657, allocations: 0 / 0.597 GB, free: 5.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003568/0.7693, allocations: 0.9377 MB / 0.5979 GB, free: 4.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.7694, allocations: 110.8 kB / 0.598 GB, free: 4.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.77, allocations: 399.8 kB / 0.5984 GB, free: 4.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.77, allocations: 30.77 kB / 0.5984 GB, free: 4.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.7703, allocations: 251.9 kB / 0.5987 GB, free: 4.035 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.7704, allocations: 87.81 kB / 0.5988 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.7704, allocations: 11.25 kB / 0.5988 GB, free: 3.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7706, allocations: 351.7 kB / 0.5991 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.7709, allocations: 147.3 kB / 0.5992 GB, free: 3.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.7714, allocations: 317.6 kB / 0.5995 GB, free: 3.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.7718, allocations: 175.1 kB / 0.5997 GB, free: 3.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.7718, allocations: 4 kB / 0.5997 GB, free: 3.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001061/0.7729, allocations: 0.5317 MB / 0.6002 GB, free: 2.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.7739, allocations: 2.013 MB / 0.6022 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.7739, allocations: 4 kB / 0.6022 GB, free: 0.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/0.7774, allocations: 371.9 kB / 0.6026 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.7778, allocations: 104.7 kB / 0.6027 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006747/0.7785, allocations: 0.6019 MB / 0.6032 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.779, allocations: 82.81 kB / 0.6033 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.7791, allocations: 22.05 kB / 0.6033 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.7791, allocations: 6.344 kB / 0.6033 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009965/0.7801, allocations: 441.2 kB / 0.6038 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7802, allocations: 8 kB / 0.6038 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7802, allocations: 8 kB / 0.6038 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.7806, allocations: 119.5 kB / 0.6039 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7806, allocations: 6.625 kB / 0.6039 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.781, allocations: 78.14 kB / 0.604 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.781, allocations: 20.94 kB / 0.604 GB, free: 14.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.7814, allocations: 251.9 kB / 0.6042 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.7815, allocations: 43.53 kB / 0.6043 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.7842, allocations: 1.93 MB / 0.6062 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.7842, allocations: 28.22 kB / 0.6062 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.7842, allocations: 8 kB / 0.6062 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7843, allocations: 3.984 kB / 0.6062 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.7854, allocations: 0.9659 MB / 0.6071 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.7855, allocations: 4 kB / 0.6072 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.7858, allocations: 70.84 kB / 0.6072 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.7873, allocations: 0.6368 MB / 0.6078 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.7873, allocations: 9.047 kB / 0.6079 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008949/0.7883, allocations: 1.026 MB / 0.6089 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7883, allocations: 0 / 0.6089 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.79, allocations: 1.312 MB / 0.6101 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.7903, allocations: 268 kB / 0.6104 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.7904, allocations: 7.188 kB / 0.6104 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.7907, allocations: 29.8 kB / 0.6104 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.7908, allocations: 34.34 kB / 0.6105 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.7908, allocations: 15.75 kB / 0.6105 GB, free: 9.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.7913, allocations: 378 kB / 0.6108 GB, free: 9.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7913, allocations: 0 / 0.6108 GB, free: 9.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004218/0.7955, allocations: 1.147 MB / 0.612 GB, free: 8.562 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008406/0.8039, allocations: 2.782 MB / 0.6147 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.8059, allocations: 0.8304 MB / 0.6155 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.806, allocations: 4 kB / 0.6155 GB, free: 5.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.8066, allocations: 490 kB / 0.616 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.808, allocations: 242.9 kB / 0.6162 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009354/0.8173, allocations: 7.272 MB / 0.6233 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.818, allocations: 0.991 MB / 0.6243 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009717/0.819, allocations: 0.4903 MB / 0.6247 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.8193, allocations: 260.3 kB / 0.625 GB, free: 12.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.382e-06/0.8193, allocations: 0 / 0.625 GB, free: 12.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09196/0.9113, allocations: 48.68 MB / 0.6725 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.9116, allocations: 257.3 kB / 0.6728 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.345/5.257, allocations: 0 / 0.6728 GB, free: 12.07 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat