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.0009313/0.0009312, allocations: 98.89 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009546/0.0009546, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, 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.2034/0.2034, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002709, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.46 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4579/0.588, allocations: 146.9 MB / 0.6137 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.5933, allocations: 2.951 MB / 0.6166 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.5938, allocations: 23.75 kB / 0.6166 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.5947, allocations: 226.8 kB / 0.6168 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.5973, allocations: 0.9194 MB / 0.6177 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.599, allocations: 0.5517 MB / 0.6183 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.6005, allocations: 0.863 MB / 0.6191 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.6011, allocations: 342 kB / 0.6194 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.6021, allocations: 494.5 kB / 0.6199 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.6026, allocations: 318.8 kB / 0.6202 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.6026, allocations: 24 kB / 0.6202 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.6044, allocations: 0.6437 MB / 0.6208 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.6046, allocations: 127.5 kB / 0.621 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.6047, allocations: 137.5 kB / 0.6211 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.6059, allocations: 0.8183 MB / 0.6219 GB, free: 10.01 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6059, allocations: 4 kB / 0.6219 GB, free: 10 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6059, allocations: 3.938 kB / 0.6219 GB, free: 10 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.6059, allocations: 0 / 0.6219 GB, free: 10 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.001719/0.6077, allocations: 0.8494 MB / 0.6227 GB, free: 9.102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.6077, allocations: 16.03 kB / 0.6228 GB, free: 9.086 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.6079, allocations: 80.53 kB / 0.6228 GB, free: 9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/0.6088, allocations: 143.1 kB / 0.623 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006823/0.6095, allocations: 420.9 kB / 0.6234 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.6096, allocations: 29 kB / 0.6234 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.6096, allocations: 47.98 kB / 0.6234 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.6107, allocations: 0.5516 MB / 0.624 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6107, allocations: 3.938 kB / 0.624 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.6108, allocations: 16 kB / 0.624 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6108, allocations: 19.95 kB / 0.624 GB, free: 7.703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.6117, allocations: 411.6 kB / 0.6244 GB, free: 7.301 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.003187/0.6149, allocations: 2.565 MB / 0.6269 GB, free: 4.516 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.6155, allocations: 297.2 kB / 0.6272 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/0.6162, allocations: 449.6 kB / 0.6276 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.6162, allocations: 42.52 kB / 0.6277 GB, free: 3.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.405e-06/0.6163, allocations: 4 kB / 0.6277 GB, free: 3.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.002304/0.6186, allocations: 0.7115 MB / 0.6284 GB, free: 2.895 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.6187, allocations: 136.5 kB / 0.6285 GB, free: 2.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.6192, allocations: 445.9 kB / 0.6289 GB, free: 2.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.6193, allocations: 29.7 kB / 0.6289 GB, free: 2.246 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.6195, allocations: 275.7 kB / 0.6292 GB, free: 1.973 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6196, allocations: 102.5 kB / 0.6293 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.6196, allocations: 12 kB / 0.6293 GB, free: 1.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6198, allocations: 358.8 kB / 0.6297 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.6202, allocations: 147.8 kB / 0.6298 GB, free: 1.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.6207, allocations: 279.2 kB / 0.6301 GB, free: 1.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.6211, allocations: 188.9 kB / 0.6303 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6211, allocations: 0 / 0.6303 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001128/0.6222, allocations: 0.5365 MB / 0.6308 GB, free: 304 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6223, allocations: 4 kB / 0.6308 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6223, allocations: 4 kB / 0.6308 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.6244, allocations: 312.9 kB / 0.6311 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.6248, allocations: 107.9 kB / 0.6312 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009029/0.6257, allocations: 0.5991 MB / 0.6318 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.6263, allocations: 64.44 kB / 0.6318 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.6264, allocations: 47.98 kB / 0.6319 GB, free: 15.14 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.0003235/0.6267, allocations: 182.2 kB / 0.6321 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6268, allocations: 55.52 kB / 0.6321 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.629, allocations: 1.035 MB / 0.6331 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.629, allocations: 4 kB / 0.6331 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.629, allocations: 0 / 0.6331 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6291, allocations: 7.938 kB / 0.6331 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.6308, allocations: 0.9637 MB / 0.6341 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6308, allocations: 4.031 kB / 0.6341 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.6311, allocations: 55.84 kB / 0.6341 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002067/0.6332, allocations: 348.4 kB / 0.6345 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.6332, allocations: 11.98 kB / 0.6345 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008766/0.6341, allocations: 0.6069 MB / 0.6351 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.6341, allocations: 7.969 kB / 0.6351 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.6354, allocations: 0.5592 MB / 0.6356 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.6356, allocations: 148.3 kB / 0.6358 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.6357, allocations: 11.98 kB / 0.6358 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.6361, allocations: 31.97 kB / 0.6358 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.6362, allocations: 27.91 kB / 0.6358 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.6363, allocations: 19.98 kB / 0.6358 GB, free: 10.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004815/0.6367, allocations: 354.8 kB / 0.6362 GB, free: 10.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6367, allocations: 0 / 0.6362 GB, free: 10.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008585/0.6376, allocations: 235.7 kB / 0.6364 GB, free: 10.27 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.002343/0.64, allocations: 1.644 MB / 0.638 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.6413, allocations: 364.4 kB / 0.6384 GB, free: 8.219 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6414, allocations: 8 kB / 0.6384 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.642, allocations: 167.3 kB / 0.6385 GB, free: 8.051 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6434, allocations: 269.2 kB / 0.6388 GB, free: 7.793 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006561/0.6499, allocations: 5.032 MB / 0.6437 GB, free: 2.633 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.6505, allocations: 0.859 MB / 0.6445 GB, free: 1.746 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001255/0.6517, allocations: 0.5347 MB / 0.6451 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.6521, allocations: 215.3 kB / 0.6453 GB, free: 1 MB / 478.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6521, allocations: 0 / 0.6453 GB, free: 1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.6868, allocations: 17.02 MB / 0.6619 GB, free: 312 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.6871, allocations: 291.8 kB / 0.6622 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/2.998, allocations: 6.812 kB / 0.6622 GB, free: 15.94 MB / 0.4981 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