Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 100.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1975/0.1975, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 4 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1156, allocations: 63.46 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.01704/0.1327, allocations: 18.32 MB / 499.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1432, allocations: 7.505 MB / 0.4955 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.1442, allocations: 31.69 kB / 0.4955 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1453, allocations: 382.1 kB / 0.4958 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.1479, allocations: 0.9503 MB / 0.4968 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.1526, allocations: 1.896 MB / 0.4986 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.1544, allocations: 1.063 MB / 0.4997 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008337/0.1552, allocations: 0.5222 MB / 0.5002 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1564, allocations: 0.6075 MB / 0.5008 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.1572, allocations: 0.4982 MB / 0.5013 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.1573, allocations: 40 kB / 0.5013 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1586, allocations: 0.589 MB / 0.5019 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1588, allocations: 183.4 kB / 0.502 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.159, allocations: 177.3 kB / 0.5022 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1602, allocations: 1.009 MB / 0.5032 GB, free: 3.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1602, allocations: 0 / 0.5032 GB, free: 3.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1602, allocations: 0 / 0.5032 GB, free: 3.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1602, allocations: 4 kB / 0.5032 GB, free: 3.418 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002294/0.1625, allocations: 1.075 MB / 0.5043 GB, free: 2.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1626, allocations: 12.02 kB / 0.5043 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.1627, allocations: 98.52 kB / 0.5044 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.1631, allocations: 94.97 kB / 0.5044 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.1639, allocations: 0.5493 MB / 0.505 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.164, allocations: 37.31 kB / 0.505 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-05/0.1641, allocations: 59.91 kB / 0.5051 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.1654, allocations: 0.8195 MB / 0.5059 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1655, allocations: 0 / 0.5059 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.1656, allocations: 28 kB / 0.5059 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.1656, allocations: 24.92 kB / 0.5059 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2223/0.3879, allocations: 0.7862 MB / 0.5067 GB, free: 43 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.005353/0.3933, allocations: 3.632 MB / 0.5102 GB, free: 41.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.3946, allocations: 495.1 kB / 0.5107 GB, free: 40.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.3949, allocations: 0.5724 MB / 0.5113 GB, free: 40.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.395, allocations: 38.94 kB / 0.5113 GB, free: 40.26 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007754/0.3958, allocations: 129.1 kB / 0.5114 GB, free: 40.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.106e-06/0.3958, allocations: 0 / 0.5114 GB, free: 40.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.05468/0.4505, allocations: 8.633 MB / 0.5199 GB, free: 37.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.4506, allocations: 111.3 kB / 0.52 GB, free: 37.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4517, allocations: 0.6239 MB / 0.5206 GB, free: 37.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4518, allocations: 41.66 kB / 0.5206 GB, free: 37.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.452, allocations: 357.4 kB / 0.521 GB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.4522, allocations: 238.8 kB / 0.5212 GB, free: 36.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.4523, allocations: 15.03 kB / 0.5212 GB, free: 36.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4524, allocations: 388.6 kB / 0.5216 GB, free: 36.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.4538, allocations: 0.5435 MB / 0.5221 GB, free: 36.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.4554, allocations: 0.7434 MB / 0.5228 GB, free: 35.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.457, allocations: 0.59 MB / 0.5234 GB, free: 35.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.457, allocations: 2.156 kB / 0.5234 GB, free: 35.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004256/0.4613, allocations: 1.635 MB / 0.525 GB, free: 34.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004162/0.4617, allocations: 2.006 MB / 0.527 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4617, allocations: 5.688 kB / 0.527 GB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.4728, allocations: 1.662 MB / 0.5286 GB, free: 31.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4742, allocations: 268.2 kB / 0.5288 GB, free: 31.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.4763, allocations: 1.674 MB / 0.5305 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.478, allocations: 134.1 kB / 0.5306 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.4782, allocations: 65.98 kB / 0.5307 GB, free: 29.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4782, allocations: 9.438 kB / 0.5307 GB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004048/0.4822, allocations: 1.524 MB / 0.5322 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4823, allocations: 12.91 kB / 0.5322 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.4849, allocations: 0.4887 MB / 0.5327 GB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.4863, allocations: 290.6 kB / 0.5329 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.4898, allocations: 3.02 MB / 0.5359 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.4915, allocations: 138.4 kB / 0.536 GB, free: 26.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.4916, allocations: 63.02 kB / 0.5361 GB, free: 26.03 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 14} Notification: Performance of prepare postOptimizeDAE: time 0.000516/0.4922, allocations: 295.6 kB / 0.5364 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.4923, allocations: 82.38 kB / 0.5364 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.4965, allocations: 1.925 MB / 0.5383 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.4966, allocations: 8 kB / 0.5383 GB, free: 23.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4966, allocations: 0 / 0.5383 GB, free: 23.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4966, allocations: 3.984 kB / 0.5383 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/0.5034, allocations: 3.049 MB / 0.5413 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.5034, allocations: 0 / 0.5413 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/0.5044, allocations: 207.7 kB / 0.5415 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00762/0.512, allocations: 1.4 MB / 0.5429 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/0.5123, allocations: 35.95 kB / 0.5429 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.5138, allocations: 1.617 MB / 0.5445 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5139, allocations: 0 / 0.5445 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.5193, allocations: 2.352 MB / 0.5468 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/0.5199, allocations: 295.7 kB / 0.5471 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5201, allocations: 16 kB / 0.5471 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.5212, allocations: 131.9 kB / 0.5472 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5213, allocations: 60.91 kB / 0.5473 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/0.5214, allocations: 43.95 kB / 0.5473 GB, free: 14.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.5219, allocations: 443 kB / 0.5477 GB, free: 14.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5219, allocations: 0 / 0.5477 GB, free: 14.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001825/0.5237, allocations: 0.6027 MB / 0.5483 GB, free: 13.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.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 (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.008161/0.5319, allocations: 3.186 MB / 0.5514 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006973/0.5389, allocations: 2.255 MB / 0.5536 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.539, allocations: 0 / 0.5536 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.5407, allocations: 0.7171 MB / 0.5543 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.5429, allocations: 366.5 kB / 0.5547 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.548, allocations: 6.005 MB / 0.5605 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.5484, allocations: 0.9927 MB / 0.5615 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001422/0.5499, allocations: 280.4 kB / 0.5618 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.5504, allocations: 343.2 kB / 0.5621 GB, free: 15.3 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5504, allocations: 0 / 0.5621 GB, free: 15.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06537/0.6158, allocations: 36.76 MB / 0.598 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/0.6161, allocations: 290.5 kB / 0.5983 GB, free: 10.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/3.621, allocations: 0 / 0.5983 GB, free: 10.49 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat