Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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 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 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 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.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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.0009371/0.000937, allocations: 96.52 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 178.4 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.336/0.336, allocations: 43.55 MB / 314.5 MB, free: 8.723 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005525/0.0005528, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1292, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.2563/0.3856, allocations: 35.54 MB / 478.4 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.4003, allocations: 10.31 MB / 488.7 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.4022, allocations: 46.75 kB / 488.8 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.4042, allocations: 0.6087 MB / 489.4 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008338/0.4126, allocations: 3.228 MB / 492.6 MB, free: 21.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008507/0.4211, allocations: 3.413 MB / 496 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.4242, allocations: 1.71 MB / 497.7 MB, free: 19.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.4255, allocations: 0.7778 MB / 498.5 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008212/0.4338, allocations: 4.173 MB / 0.4909 GB, free: 18.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005276/0.4391, allocations: 2.388 MB / 0.4932 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.4395, allocations: 59.62 kB / 0.4933 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008548/0.448, allocations: 3.217 MB / 0.4964 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.4485, allocations: 260.1 kB / 0.4967 GB, free: 16.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.4492, allocations: 260.8 kB / 0.4969 GB, free: 16.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004668/0.4538, allocations: 1.91 MB / 0.4988 GB, free: 16.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4539, allocations: 1.125 kB / 0.4988 GB, free: 16.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4539, allocations: 4 kB / 0.4988 GB, free: 16.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.4539, allocations: 0 / 0.4988 GB, free: 16.21 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00404/0.4579, allocations: 1.639 MB / 0.5004 GB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.458, allocations: 9.062 kB / 0.5004 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.4582, allocations: 135.9 kB / 0.5005 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.4609, allocations: 326.1 kB / 0.5008 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.4625, allocations: 0.7501 MB / 0.5016 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/0.4626, allocations: 63.34 kB / 0.5016 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4627, allocations: 81.97 kB / 0.5017 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.4658, allocations: 1.233 MB / 0.5029 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.4658, allocations: 5.188 kB / 0.5029 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.4659, allocations: 39.34 kB / 0.503 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.466, allocations: 21.12 kB / 0.503 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.4688, allocations: 1.044 MB / 0.504 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.4748, allocations: 5.428 MB / 0.5093 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.4769, allocations: 0.6839 MB / 0.51 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005425/0.4774, allocations: 0.9437 MB / 0.5109 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4775, allocations: 52.05 kB / 0.5109 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007376/0.4782, allocations: 110.6 kB / 0.511 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.815e-06/0.4782, allocations: 0 / 0.511 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.006034/0.4843, allocations: 1.727 MB / 0.5127 GB, free: 5.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.4843, allocations: 192 kB / 0.5129 GB, free: 5.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4854, allocations: 0.9599 MB / 0.5138 GB, free: 5.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.4855, allocations: 42.2 kB / 0.5139 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.4858, allocations: 0.4959 MB / 0.5144 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.486, allocations: 233.8 kB / 0.5146 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.4861, allocations: 15.22 kB / 0.5146 GB, free: 4.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.4862, allocations: 336 kB / 0.5149 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.4869, allocations: 359.6 kB / 0.5153 GB, free: 3.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.4877, allocations: 0.566 MB / 0.5158 GB, free: 3.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007722/0.4884, allocations: 420 kB / 0.5162 GB, free: 3.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4885, allocations: 3.25 kB / 0.5162 GB, free: 3.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002565/0.491, allocations: 1.198 MB / 0.5174 GB, free: 2.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003866/0.4914, allocations: 1.83 MB / 0.5192 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4914, allocations: 8.156 kB / 0.5192 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/0.4972, allocations: 0.8159 MB / 0.52 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4983, allocations: 263.6 kB / 0.5202 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/0.4994, allocations: 0.7826 MB / 0.521 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.5008, allocations: 91.83 kB / 0.5211 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.501, allocations: 83.97 kB / 0.5212 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.501, allocations: 4 kB / 0.5212 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002269/0.5033, allocations: 1.019 MB / 0.5222 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5033, allocations: 7.938 kB / 0.5222 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.5036, allocations: 85.28 kB / 0.5223 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.5045, allocations: 279.6 kB / 0.5225 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.5063, allocations: 1.659 MB / 0.5241 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.5073, allocations: 87.84 kB / 0.5242 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.5074, allocations: 71.97 kB / 0.5243 GB, free: 11.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000639/0.5081, allocations: 324.9 kB / 0.5246 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.5083, allocations: 114.6 kB / 0.5247 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.5122, allocations: 1.86 MB / 0.5265 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5122, allocations: 11.95 kB / 0.5265 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5122, allocations: 0 / 0.5265 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5123, allocations: 3.984 kB / 0.5265 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.5155, allocations: 1.862 MB / 0.5284 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5155, allocations: 0 / 0.5284 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.516, allocations: 136 kB / 0.5285 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.519, allocations: 0.6181 MB / 0.5291 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.5191, allocations: 27.98 kB / 0.5291 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008065/0.5199, allocations: 0.8273 MB / 0.5299 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5199, allocations: 7.891 kB / 0.5299 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.5219, allocations: 1.094 MB / 0.531 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.5227, allocations: 335.2 kB / 0.5313 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5228, allocations: 12 kB / 0.5313 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.5236, allocations: 75.94 kB / 0.5314 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5237, allocations: 52.39 kB / 0.5315 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.5238, allocations: 51.97 kB / 0.5315 GB, free: 4.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001051/0.5248, allocations: 0.7338 MB / 0.5322 GB, free: 3.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5248, allocations: 0 / 0.5322 GB, free: 3.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00308/0.5279, allocations: 0.8586 MB / 0.5331 GB, free: 2.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * 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 (49): * Single equations (assignments): 48 * 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 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004434/0.5324, allocations: 2.527 MB / 0.5355 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003626/0.536, allocations: 1.508 MB / 0.537 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5361, allocations: 0 / 0.537 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.5369, allocations: 414.3 kB / 0.5374 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.54, allocations: 0.5192 MB / 0.5379 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/0.5474, allocations: 6.168 MB / 0.5439 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.5481, allocations: 1.103 MB / 0.545 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002165/0.5503, allocations: 466.9 kB / 0.5455 GB, free: 5.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007662/0.5511, allocations: 463.2 kB / 0.5459 GB, free: 5.117 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5511, allocations: 0 / 0.5459 GB, free: 5.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.6161, allocations: 37.79 MB / 0.5828 GB, free: 15.29 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.6163, allocations: 283.2 kB / 0.5831 GB, free: 14.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.485, allocations: 0 / 0.5831 GB, free: 14.93 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat