Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 98.23 kB / 17 MB, free: 6.477 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.001299/0.001299, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.46/1.46, allocations: 223.3 MB / 241.9 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004256, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 61.91 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.421/0.5566, allocations: 166.7 MB / 0.6234 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.5616, allocations: 2.102 MB / 0.6254 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.5622, allocations: 23.81 kB / 0.6254 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008256/0.5631, allocations: 230.5 kB / 0.6257 GB, free: 10.06 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.003181/0.5663, allocations: 0.9997 MB / 0.6266 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.5678, allocations: 0.536 MB / 0.6272 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.5699, allocations: 1.687 MB / 0.6288 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005486/0.5705, allocations: 340.1 kB / 0.6291 GB, free: 6.504 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008415/0.5714, allocations: 0.4981 MB / 0.6296 GB, free: 6.004 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005354/0.5719, allocations: 426.2 kB / 0.63 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.572, allocations: 24 kB / 0.63 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.5735, allocations: 0.6396 MB / 0.6307 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.5736, allocations: 119.5 kB / 0.6308 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.5738, allocations: 141.5 kB / 0.6309 GB, free: 4.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.5748, allocations: 0.8635 MB / 0.6318 GB, free: 3.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5748, allocations: 0 / 0.6318 GB, free: 3.797 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5748, allocations: 0 / 0.6318 GB, free: 3.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.5748, allocations: 0 / 0.6318 GB, free: 3.797 MB / 462.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.001522/0.5763, allocations: 0.854 MB / 0.6326 GB, free: 2.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5764, allocations: 8.562 kB / 0.6326 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5765, allocations: 82.53 kB / 0.6327 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.5774, allocations: 132 kB / 0.6328 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.578, allocations: 436.8 kB / 0.6332 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5781, allocations: 29 kB / 0.6333 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.5781, allocations: 40 kB / 0.6333 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000996/0.5791, allocations: 0.5594 MB / 0.6338 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.5792, allocations: 3.938 kB / 0.6338 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.5792, allocations: 20 kB / 0.6339 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.5792, allocations: 15.98 kB / 0.6339 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008084/0.5801, allocations: 411.6 kB / 0.6343 GB, free: 1.094 MB / 462.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.002819/0.5829, allocations: 2.58 MB / 0.6368 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.5835, allocations: 291.5 kB / 0.6371 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.5838, allocations: 157 kB / 0.6372 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/0.5842, allocations: 356.4 kB / 0.6376 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.5842, allocations: 38.56 kB / 0.6376 GB, free: 13.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.5842, allocations: 0 / 0.6376 GB, free: 13.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.002329/0.5866, allocations: 0.7191 MB / 0.6383 GB, free: 12.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.5867, allocations: 136.5 kB / 0.6384 GB, free: 12.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.5872, allocations: 449.9 kB / 0.6389 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.5873, allocations: 29.7 kB / 0.6389 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.5875, allocations: 267.8 kB / 0.6391 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5877, allocations: 110.5 kB / 0.6392 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.5877, allocations: 4 kB / 0.6392 GB, free: 11.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5879, allocations: 358.8 kB / 0.6396 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.5883, allocations: 147.9 kB / 0.6397 GB, free: 11.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.5888, allocations: 279.2 kB / 0.64 GB, free: 10.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.5892, allocations: 180.2 kB / 0.6402 GB, free: 10.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.5893, allocations: 4 kB / 0.6402 GB, free: 10.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001181/0.5904, allocations: 0.5329 MB / 0.6407 GB, free: 10.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5905, allocations: 12.02 kB / 0.6407 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5905, allocations: 8 kB / 0.6407 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.5925, allocations: 316.4 kB / 0.641 GB, free: 9.715 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.5929, allocations: 103.9 kB / 0.6411 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008849/0.5938, allocations: 0.5991 MB / 0.6417 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.5943, allocations: 71.5 kB / 0.6418 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.5944, allocations: 47.98 kB / 0.6418 GB, free: 8.875 MB / 478.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.0002999/0.5947, allocations: 177.7 kB / 0.642 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.5948, allocations: 51.39 kB / 0.642 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.597, allocations: 1.041 MB / 0.643 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.597, allocations: 0 / 0.643 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5971, allocations: 3.938 kB / 0.643 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5971, allocations: 7.984 kB / 0.6431 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.5987, allocations: 0.9713 MB / 0.644 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.5987, allocations: 4 kB / 0.644 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.599, allocations: 52.06 kB / 0.6441 GB, free: 6.461 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/0.6009, allocations: 340.4 kB / 0.6444 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.601, allocations: 15.98 kB / 0.6444 GB, free: 6.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008885/0.6018, allocations: 0.5991 MB / 0.645 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6019, allocations: 4.031 kB / 0.645 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.6031, allocations: 0.5156 MB / 0.6455 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.6033, allocations: 148.3 kB / 0.6456 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/0.6034, allocations: 4 kB / 0.6456 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.6038, allocations: 35.97 kB / 0.6457 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.6039, allocations: 27.89 kB / 0.6457 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.604, allocations: 19.98 kB / 0.6457 GB, free: 4.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004479/0.6044, allocations: 358.8 kB / 0.6461 GB, free: 4.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6044, allocations: 0 / 0.6461 GB, free: 4.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.6052, allocations: 219.8 kB / 0.6463 GB, free: 4.113 MB / 478.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.002055/0.6072, allocations: 1.249 MB / 0.6475 GB, free: 2.828 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.6086, allocations: 375.5 kB / 0.6478 GB, free: 2.461 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6086, allocations: 0.875 kB / 0.6478 GB, free: 2.461 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.6093, allocations: 169.4 kB / 0.648 GB, free: 2.297 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.6107, allocations: 271.5 kB / 0.6483 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.6158, allocations: 2.931 MB / 0.6511 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.6163, allocations: 0.8473 MB / 0.652 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.6175, allocations: 0.5385 MB / 0.6525 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.6179, allocations: 211.3 kB / 0.6527 GB, free: 13.38 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6179, allocations: 0 / 0.6527 GB, free: 13.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.6499, allocations: 16.99 MB / 0.6693 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6502, allocations: 302.9 kB / 0.6696 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.053, allocations: 6.578 kB / 0.6696 GB, free: 12.39 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat