Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",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.001467/0.001467, allocations: 96.44 kB / 15.69 MB, free: 484 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.002248/0.002248, allocations: 174.8 kB / 16.56 MB, free: 6.852 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.613/1.613, 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.3363/0.3363, allocations: 43.54 MB / 314.5 MB, free: 8.707 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.0005741/0.0005741, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1164, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.2405/0.357, allocations: 24.24 MB / 467.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.3728, allocations: 14.75 MB / 481.8 MB, free: 27.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.3735, allocations: 13.84 kB / 481.8 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009377/0.3744, allocations: 261.2 kB / 482.1 MB, free: 27.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.3834, allocations: 2.961 MB / 485.1 MB, free: 26.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008847/0.3922, allocations: 3.009 MB / 488.1 MB, free: 24.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009944/0.3932, allocations: 0.609 MB / 488.7 MB, free: 24.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.3936, allocations: 237.9 kB / 488.9 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007692/0.3944, allocations: 425.8 kB / 489.3 MB, free: 24.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3946, allocations: 229.6 kB / 489.6 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.3947, allocations: 16.22 kB / 489.6 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01335/0.408, allocations: 7.167 MB / 496.7 MB, free: 22.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.4082, allocations: 88.08 kB / 496.8 MB, free: 22.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.4085, allocations: 110.9 kB / 496.9 MB, free: 22.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007542/0.416, allocations: 3.077 MB / 0.4883 GB, free: 21.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.416, allocations: 0 / 0.4883 GB, free: 21.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.416, allocations: 0 / 0.4883 GB, free: 21.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.416, allocations: 0 / 0.4883 GB, free: 21.89 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005878/0.4219, allocations: 1.238 MB / 0.4895 GB, free: 21.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.422, allocations: 8.406 kB / 0.4895 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.037e-05/0.4221, allocations: 74.53 kB / 0.4896 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4239, allocations: 233.7 kB / 0.4898 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.4245, allocations: 389 kB / 0.4902 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.4246, allocations: 26.97 kB / 0.4902 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.4246, allocations: 34.09 kB / 0.4902 GB, free: 20.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.4263, allocations: 0.6299 MB / 0.4908 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4263, allocations: 0.9688 kB / 0.4908 GB, free: 20.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.4264, allocations: 27.19 kB / 0.4909 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.4264, allocations: 8.781 kB / 0.4909 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.4281, allocations: 0.5888 MB / 0.4915 GB, free: 20.21 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.003188/0.4313, allocations: 2.763 MB / 0.4942 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.4331, allocations: 0.5921 MB / 0.4947 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0501/0.4832, allocations: 24.42 MB / 0.5186 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.4833, allocations: 40.42 kB / 0.5186 GB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.4833, allocations: 0 / 0.5186 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.003073/0.4864, allocations: 0.8495 MB / 0.5195 GB, free: 14.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.4865, allocations: 113.2 kB / 0.5196 GB, free: 14.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.4871, allocations: 389.9 kB / 0.5199 GB, free: 13.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.4872, allocations: 31.58 kB / 0.52 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.4874, allocations: 223.4 kB / 0.5202 GB, free: 13.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4875, allocations: 94.89 kB / 0.5203 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.4876, allocations: 8 kB / 0.5203 GB, free: 13.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4878, allocations: 356 kB / 0.5206 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.4882, allocations: 160.4 kB / 0.5208 GB, free: 13.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.4888, allocations: 286.6 kB / 0.521 GB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.4892, allocations: 193.5 kB / 0.5212 GB, free: 12.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4892, allocations: 4 kB / 0.5212 GB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001038/0.4903, allocations: 0.5047 MB / 0.5217 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004952/0.4908, allocations: 1.391 MB / 0.5231 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4908, allocations: 4 kB / 0.5231 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4908, allocations: 8 kB / 0.5231 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.4912, allocations: 111.8 kB / 0.5232 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4912, allocations: 11.92 kB / 0.5232 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.4917, allocations: 79.44 kB / 0.5233 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.4918, allocations: 23.98 kB / 0.5233 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.4918, allocations: 4 kB / 0.5233 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009372/0.4927, allocations: 443.6 kB / 0.5237 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4928, allocations: 4 kB / 0.5237 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.4928, allocations: 4 kB / 0.5237 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.4931, allocations: 99.88 kB / 0.5238 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4932, allocations: 12.22 kB / 0.5238 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.4935, allocations: 67.56 kB / 0.5239 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.4936, allocations: 20.84 kB / 0.5239 GB, free: 9.742 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002714/0.4938, allocations: 260.9 kB / 0.5242 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.4939, allocations: 39.53 kB / 0.5242 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.4963, allocations: 1.978 MB / 0.5262 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.4963, allocations: 31.95 kB / 0.5262 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4963, allocations: 0 / 0.5262 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.4963, allocations: 3.984 kB / 0.5262 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4975, allocations: 1.069 MB / 0.5272 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4975, allocations: 0 / 0.5272 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.4978, allocations: 87.86 kB / 0.5273 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4978, allocations: 4 kB / 0.5273 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.4979, allocations: 12 kB / 0.5273 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4979, allocations: 3.984 kB / 0.5273 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4979, allocations: 0 / 0.5273 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.4992, allocations: 1.124 MB / 0.5284 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.4996, allocations: 279.2 kB / 0.5287 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.4996, allocations: 4 kB / 0.5287 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.5, allocations: 47.81 kB / 0.5287 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5001, allocations: 35.94 kB / 0.5288 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.5001, allocations: 12 kB / 0.5288 GB, free: 4.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004362/0.5006, allocations: 382.8 kB / 0.5292 GB, free: 4.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5006, allocations: 0 / 0.5292 GB, free: 4.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0056/0.5062, allocations: 1.136 MB / 0.5303 GB, free: 3.152 MB / 398.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01025/0.5165, allocations: 2.798 MB / 0.533 GB, free: 348 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.5184, allocations: 0.894 MB / 0.5339 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5185, allocations: 0 / 0.5339 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.5191, allocations: 0.5255 MB / 0.5344 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5204, allocations: 230 kB / 0.5346 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008895/0.5293, allocations: 5.06 MB / 0.5395 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.5299, allocations: 1.003 MB / 0.5405 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009636/0.5308, allocations: 0.6082 MB / 0.5411 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.5312, allocations: 291.3 kB / 0.5414 GB, free: 7.602 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5312, allocations: 0 / 0.5414 GB, free: 7.602 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07601/0.6072, allocations: 48.25 MB / 0.5885 GB, free: 7.359 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.6074, allocations: 243.3 kB / 0.5887 GB, free: 7.113 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.199/4.806, allocations: 0 / 0.5887 GB, free: 7.113 MB / 462.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat