Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000855/0.000855, allocations: 97.94 kB / 17 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008315/0.0008315, allocations: 194.9 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003187, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 63.47 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.511/0.6569, allocations: 166.7 MB / 0.6332 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.6612, allocations: 2.1 MB / 0.6352 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.6617, allocations: 19.81 kB / 0.6352 GB, free: 13.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.6625, allocations: 234.5 kB / 0.6355 GB, free: 13.23 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003028/0.6656, allocations: 1.007 MB / 0.6364 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.6671, allocations: 0.532 MB / 0.637 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.6693, allocations: 1.683 MB / 0.6386 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005367/0.6698, allocations: 333.9 kB / 0.6389 GB, free: 9.691 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008396/0.6707, allocations: 0.5019 MB / 0.6394 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.6712, allocations: 426.3 kB / 0.6398 GB, free: 8.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.6712, allocations: 35.94 kB / 0.6399 GB, free: 8.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.6727, allocations: 0.6396 MB / 0.6405 GB, free: 8.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.6729, allocations: 123.5 kB / 0.6406 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.673, allocations: 141.4 kB / 0.6407 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.674, allocations: 0.8558 MB / 0.6416 GB, free: 6.973 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.674, allocations: 0 / 0.6416 GB, free: 6.973 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.674, allocations: 3.938 kB / 0.6416 GB, free: 6.969 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.674, allocations: 0 / 0.6416 GB, free: 6.969 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001396/0.6754, allocations: 0.8572 MB / 0.6424 GB, free: 6.062 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6754, allocations: 8.031 kB / 0.6424 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.966e-05/0.6756, allocations: 86.52 kB / 0.6425 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000872/0.6764, allocations: 139.1 kB / 0.6426 GB, free: 5.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.677, allocations: 440.7 kB / 0.6431 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.6771, allocations: 33 kB / 0.6431 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.6771, allocations: 36 kB / 0.6431 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/0.6781, allocations: 0.5516 MB / 0.6437 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.6781, allocations: 3.938 kB / 0.6437 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.487e-05/0.6781, allocations: 20 kB / 0.6437 GB, free: 4.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.6782, allocations: 11.95 kB / 0.6437 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.6789, allocations: 419.6 kB / 0.6441 GB, free: 4.25 MB / 478.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.002629/0.6816, allocations: 2.569 MB / 0.6466 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.6822, allocations: 290.7 kB / 0.6469 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.6824, allocations: 156.9 kB / 0.647 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.6828, allocations: 356.3 kB / 0.6474 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6828, allocations: 34.56 kB / 0.6474 GB, free: 0.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.734e-06/0.6828, allocations: 0 / 0.6474 GB, free: 0.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002272/0.6851, allocations: 0.7267 MB / 0.6481 GB, free: 15.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.6852, allocations: 132.5 kB / 0.6482 GB, free: 15.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.6857, allocations: 449.9 kB / 0.6487 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.6857, allocations: 33.7 kB / 0.6487 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.6859, allocations: 271.8 kB / 0.649 GB, free: 14.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.686, allocations: 106.5 kB / 0.6491 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.686, allocations: 4 kB / 0.6491 GB, free: 14.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6862, allocations: 354.8 kB / 0.6494 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.6865, allocations: 155.9 kB / 0.6496 GB, free: 14.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.687, allocations: 279.2 kB / 0.6498 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.6874, allocations: 176.9 kB / 0.65 GB, free: 13.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6874, allocations: 4 kB / 0.65 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001104/0.6885, allocations: 0.5406 MB / 0.6505 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6885, allocations: 7.938 kB / 0.6505 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.6886, allocations: 4 kB / 0.6505 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.6905, allocations: 316.7 kB / 0.6508 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.6909, allocations: 103.9 kB / 0.6509 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/0.6919, allocations: 0.603 MB / 0.6515 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.6924, allocations: 63.52 kB / 0.6516 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6925, allocations: 47.97 kB / 0.6516 GB, free: 12.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 40 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.6928, allocations: 182.2 kB / 0.6518 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.6929, allocations: 51.44 kB / 0.6518 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.6952, allocations: 1.047 MB / 0.6529 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6952, allocations: 4 kB / 0.6529 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6952, allocations: 0 / 0.6529 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6952, allocations: 3.953 kB / 0.6529 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.6968, allocations: 0.9704 MB / 0.6538 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6968, allocations: 0 / 0.6538 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.697, allocations: 56.05 kB / 0.6539 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.6989, allocations: 344.4 kB / 0.6542 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.6989, allocations: 11.98 kB / 0.6542 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/0.6997, allocations: 0.603 MB / 0.6548 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6997, allocations: 3.938 kB / 0.6548 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.7009, allocations: 0.5117 MB / 0.6553 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.701, allocations: 148.4 kB / 0.6555 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.7011, allocations: 4.875 kB / 0.6555 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.7015, allocations: 35.97 kB / 0.6555 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.7016, allocations: 23.91 kB / 0.6555 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.7016, allocations: 23.97 kB / 0.6555 GB, free: 7.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004086/0.702, allocations: 354.8 kB / 0.6559 GB, free: 7.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.702, allocations: 0 / 0.6559 GB, free: 7.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007637/0.7028, allocations: 231.6 kB / 0.6561 GB, free: 7.266 MB / 494.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 (23): * Single equations (assignments): 22 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001958/0.7048, allocations: 1.242 MB / 0.6573 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.706, allocations: 376.4 kB / 0.6577 GB, free: 5.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7061, allocations: 4 kB / 0.6577 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.7067, allocations: 163.8 kB / 0.6578 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.708, allocations: 276.4 kB / 0.6581 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.713, allocations: 2.929 MB / 0.661 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.7134, allocations: 0.8473 MB / 0.6618 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001161/0.7146, allocations: 0.527 MB / 0.6623 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.715, allocations: 223.3 kB / 0.6625 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.715, allocations: 0 / 0.6625 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.7515, allocations: 17.03 MB / 0.6791 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.7518, allocations: 290.8 kB / 0.6794 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.072, allocations: 0 / 0.6794 GB, free: 15.48 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat