Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_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.001311/0.001311, allocations: 95.34 kB / 15.68 MB, free: 488 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.001492/0.001492, allocations: 177.9 kB / 16.57 MB, free: 6.379 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.627/1.627, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.4437/0.4437, allocations: 43.54 MB / 314.5 MB, free: 8.805 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.0005126/0.0005127, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1382, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4833/0.6216, allocations: 146.8 MB / 0.5759 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007355/0.629, allocations: 4.301 MB / 0.5801 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005742/0.6296, allocations: 15.88 kB / 0.5801 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.6305, allocations: 238.8 kB / 0.5803 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.6341, allocations: 1.114 MB / 0.5814 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.6359, allocations: 0.5411 MB / 0.5819 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.6374, allocations: 0.8591 MB / 0.5828 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.638, allocations: 348.6 kB / 0.5831 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009317/0.6389, allocations: 494.5 kB / 0.5836 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.6393, allocations: 302.8 kB / 0.5839 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.6394, allocations: 24 kB / 0.5839 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.6413, allocations: 0.7957 MB / 0.5847 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.6414, allocations: 127.5 kB / 0.5848 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.6416, allocations: 141.4 kB / 0.5849 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.6428, allocations: 0.89 MB / 0.5858 GB, free: 14.63 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6428, allocations: 0 / 0.5858 GB, free: 14.63 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6428, allocations: 0 / 0.5858 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.6428, allocations: 0 / 0.5858 GB, free: 14.63 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.001657/0.6445, allocations: 0.8977 MB / 0.5867 GB, free: 13.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.6445, allocations: 12.56 kB / 0.5867 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.6446, allocations: 78.52 kB / 0.5868 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.6456, allocations: 132 kB / 0.5869 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/0.6463, allocations: 428.9 kB / 0.5873 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.6463, allocations: 36.94 kB / 0.5873 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.6464, allocations: 40 kB / 0.5874 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6474, allocations: 0.5477 MB / 0.5879 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6475, allocations: 0 / 0.5879 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.6475, allocations: 23.95 kB / 0.5879 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.6476, allocations: 8 kB / 0.5879 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.6484, allocations: 419.6 kB / 0.5883 GB, free: 11.9 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.002944/0.6513, allocations: 2.574 MB / 0.5908 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.6519, allocations: 286.7 kB / 0.5911 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.6525, allocations: 335.8 kB / 0.5914 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.6525, allocations: 38.56 kB / 0.5915 GB, free: 8.391 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 5.831e-06/0.6526, allocations: 3.984 kB / 0.5915 GB, free: 8.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.00224/0.6548, allocations: 0.7272 MB / 0.5922 GB, free: 7.637 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.6549, allocations: 132.5 kB / 0.5923 GB, free: 7.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005967/0.6555, allocations: 445.9 kB / 0.5927 GB, free: 7.031 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.6556, allocations: 33.7 kB / 0.5928 GB, free: 6.992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.6559, allocations: 275.8 kB / 0.593 GB, free: 6.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.656, allocations: 98.5 kB / 0.5931 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.656, allocations: 8 kB / 0.5931 GB, free: 6.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6562, allocations: 358.7 kB / 0.5935 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.6565, allocations: 147.9 kB / 0.5936 GB, free: 6.109 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.657, allocations: 280 kB / 0.5939 GB, free: 5.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.6574, allocations: 183.9 kB / 0.5941 GB, free: 5.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6574, allocations: 0 / 0.5941 GB, free: 5.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001193/0.6586, allocations: 0.5287 MB / 0.5946 GB, free: 5.062 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6587, allocations: 8.438 kB / 0.5946 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6587, allocations: 5.797 kB / 0.5946 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.6607, allocations: 320.4 kB / 0.5949 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.6611, allocations: 103.9 kB / 0.595 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009309/0.662, allocations: 0.603 MB / 0.5956 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.6625, allocations: 64.14 kB / 0.5956 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.6626, allocations: 47.97 kB / 0.5957 GB, free: 3.895 MB / 462.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.000286/0.6629, allocations: 177.7 kB / 0.5959 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.663, allocations: 51.34 kB / 0.5959 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.6647, allocations: 0.6749 MB / 0.5966 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6647, allocations: 0 / 0.5966 GB, free: 2.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6647, allocations: 7.938 kB / 0.5966 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.6648, allocations: 0 / 0.5966 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.6665, allocations: 0.9674 MB / 0.5975 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6665, allocations: 0 / 0.5975 GB, free: 1.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.6668, allocations: 56.06 kB / 0.5976 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.6688, allocations: 344.4 kB / 0.5979 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.6689, allocations: 11.98 kB / 0.5979 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009233/0.6698, allocations: 0.6022 MB / 0.5985 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.6698, allocations: 3.984 kB / 0.5985 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.6711, allocations: 0.5784 MB / 0.5991 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.6713, allocations: 148.4 kB / 0.5992 GB, free: 76 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/0.6714, allocations: 4 kB / 0.5992 GB, free: 72 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.6718, allocations: 35.88 kB / 0.5993 GB, free: 36 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.6719, allocations: 35.86 kB / 0.5993 GB, free: 0 / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.672, allocations: 23.97 kB / 0.5993 GB, free: 15.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004386/0.6724, allocations: 350.8 kB / 0.5996 GB, free: 15.63 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6724, allocations: 0 / 0.5996 GB, free: 15.63 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009252/0.6733, allocations: 259.8 kB / 0.5999 GB, free: 15.38 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.002541/0.6759, allocations: 1.721 MB / 0.6016 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.6772, allocations: 374 kB / 0.6019 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6772, allocations: 4 kB / 0.6019 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007008/0.6779, allocations: 159.8 kB / 0.6021 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6792, allocations: 271.1 kB / 0.6023 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.6861, allocations: 5.026 MB / 0.6073 GB, free: 7.684 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.6866, allocations: 0.8629 MB / 0.6081 GB, free: 6.793 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009427/0.6875, allocations: 184.9 kB / 0.6083 GB, free: 6.617 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.6879, allocations: 203.3 kB / 0.6085 GB, free: 6.418 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6879, allocations: 0 / 0.6085 GB, free: 6.418 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.7267, allocations: 17.93 MB / 0.626 GB, free: 4.539 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.727, allocations: 283.7 kB / 0.6263 GB, free: 4.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.058, allocations: 3.938 kB / 0.6263 GB, free: 4.176 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat