Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001247/0.001246, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2366/0.2366, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 74.34 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1312, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4593/0.5906, allocations: 185.8 MB / 0.6504 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.5948, allocations: 2.123 MB / 0.6524 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.5954, allocations: 15.88 kB / 0.6525 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.5965, allocations: 301.9 kB / 0.6528 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.6001, allocations: 1.179 MB / 0.6539 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.602, allocations: 0.6742 MB / 0.6546 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002078/0.604, allocations: 1.492 MB / 0.656 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007703/0.6048, allocations: 419.5 kB / 0.6564 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.6059, allocations: 0.5604 MB / 0.657 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.6065, allocations: 438.2 kB / 0.6574 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.6067, allocations: 52 kB / 0.6574 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.6084, allocations: 0.7529 MB / 0.6582 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.6086, allocations: 151.5 kB / 0.6583 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.609, allocations: 330.5 kB / 0.6586 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.6109, allocations: 1.204 MB / 0.6598 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6109, allocations: 0 / 0.6598 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.611, allocations: 0 / 0.6598 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.611, allocations: 0 / 0.6598 GB, free: 15.56 MB / 0.4981 GB 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.001933/0.6129, allocations: 0.9884 MB / 0.6608 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.613, allocations: 8.031 kB / 0.6608 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.6131, allocations: 86.52 kB / 0.6609 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009832/0.6141, allocations: 131.3 kB / 0.661 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.6147, allocations: 440.5 kB / 0.6614 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.6148, allocations: 32.98 kB / 0.6614 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.6149, allocations: 44 kB / 0.6615 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6159, allocations: 0.5515 MB / 0.662 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.616, allocations: 0 / 0.662 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.616, allocations: 20 kB / 0.662 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6161, allocations: 12 kB / 0.662 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009118/0.617, allocations: 411.6 kB / 0.6624 GB, free: 12.72 MB / 0.4981 GB 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.003414/0.6204, allocations: 2.584 MB / 0.665 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.6212, allocations: 294.9 kB / 0.6652 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.6215, allocations: 148.7 kB / 0.6654 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004933/0.622, allocations: 356.4 kB / 0.6657 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.622, allocations: 42.5 kB / 0.6658 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.185e-06/0.622, allocations: 0 / 0.6658 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002524/0.6246, allocations: 0.7062 MB / 0.6665 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.6247, allocations: 136.5 kB / 0.6666 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.6253, allocations: 449.9 kB / 0.667 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.6254, allocations: 33.7 kB / 0.667 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.6256, allocations: 275.8 kB / 0.6673 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.6257, allocations: 102.4 kB / 0.6674 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.6259, allocations: 101.7 kB / 0.6675 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6261, allocations: 358.8 kB / 0.6678 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.6265, allocations: 143.9 kB / 0.668 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.6271, allocations: 276.3 kB / 0.6682 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009443/0.628, allocations: 421.5 kB / 0.6686 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.628, allocations: 8 kB / 0.6687 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001345/0.6294, allocations: 0.529 MB / 0.6692 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6294, allocations: 10.53 kB / 0.6692 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.6294, allocations: 7.938 kB / 0.6692 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.6316, allocations: 260.5 kB / 0.6694 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.632, allocations: 111.8 kB / 0.6695 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.6331, allocations: 0.5992 MB / 0.6701 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.6336, allocations: 47.52 kB / 0.6702 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.6337, allocations: 51.97 kB / 0.6702 GB, free: 4.199 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004109/0.6342, allocations: 185.2 kB / 0.6704 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.6343, allocations: 51.5 kB / 0.6705 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.6367, allocations: 1.016 MB / 0.6714 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6367, allocations: 4 kB / 0.6714 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6368, allocations: 7.984 kB / 0.6715 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6368, allocations: 0 / 0.6715 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.6387, allocations: 0.9674 MB / 0.6724 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.6387, allocations: 8.844 kB / 0.6724 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.6389, allocations: 43.91 kB / 0.6725 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.6408, allocations: 256.5 kB / 0.6727 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.6408, allocations: 19.92 kB / 0.6727 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.6418, allocations: 0.6031 MB / 0.6733 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6419, allocations: 3.938 kB / 0.6733 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.6432, allocations: 0.5077 MB / 0.6738 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.6434, allocations: 132.4 kB / 0.6739 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6435, allocations: 11.94 kB / 0.6739 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.6439, allocations: 15.98 kB / 0.674 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.644, allocations: 31.84 kB / 0.674 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.644, allocations: 31.84 kB / 0.674 GB, free: 132 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000577/0.6446, allocations: 382.8 kB / 0.6744 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6446, allocations: 0 / 0.6744 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001012/0.6457, allocations: 219.8 kB / 0.6746 GB, free: 15.54 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002627/0.6483, allocations: 1.228 MB / 0.6758 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.6499, allocations: 380.4 kB / 0.6762 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6499, allocations: 0 / 0.6762 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.6506, allocations: 159.8 kB / 0.6763 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.6523, allocations: 349.8 kB / 0.6766 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008257/0.6606, allocations: 4.812 MB / 0.6813 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.6612, allocations: 0.8433 MB / 0.6822 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001293/0.6625, allocations: 0.5549 MB / 0.6827 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.6629, allocations: 219.3 kB / 0.6829 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.6629, allocations: 0 / 0.6829 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/0.7153, allocations: 19.31 MB / 0.7018 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.86, allocations: 6.719 kB / 0.7018 GB, free: 3.734 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1)