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.0009969/0.0009965, allocations: 94.59 kB / 16.98 MB, free: 5.938 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.0009344/0.0009345, allocations: 188.3 kB / 17.88 MB, free: 5.594 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.454/1.454, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2/0.2, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1275, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4526/0.5801, allocations: 146.8 MB / 0.6039 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00494/0.5851, allocations: 2.95 MB / 0.6068 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.5855, allocations: 23.81 kB / 0.6068 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.5863, allocations: 230.8 kB / 0.607 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.5889, allocations: 0.9206 MB / 0.6079 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.5904, allocations: 0.5474 MB / 0.6084 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.5916, allocations: 0.8707 MB / 0.6093 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004902/0.5921, allocations: 334 kB / 0.6096 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.5929, allocations: 498.5 kB / 0.6101 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.5932, allocations: 314.8 kB / 0.6104 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.5933, allocations: 28 kB / 0.6104 GB, free: 8.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5946, allocations: 0.632 MB / 0.611 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.5948, allocations: 131.5 kB / 0.6112 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.5949, allocations: 141.4 kB / 0.6113 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.5958, allocations: 0.8183 MB / 0.6121 GB, free: 6.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.5959, allocations: 7.938 kB / 0.6121 GB, free: 6.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5959, allocations: 0 / 0.6121 GB, free: 6.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.5959, allocations: 0 / 0.6121 GB, free: 6.648 MB / 446.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.00153/0.5974, allocations: 0.8455 MB / 0.6129 GB, free: 5.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5975, allocations: 16.56 kB / 0.6129 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.5976, allocations: 74.53 kB / 0.613 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.5985, allocations: 147.1 kB / 0.6132 GB, free: 5.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.5991, allocations: 420.9 kB / 0.6136 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.5992, allocations: 29 kB / 0.6136 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.5992, allocations: 40 kB / 0.6136 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.6002, allocations: 0.5593 MB / 0.6142 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.6002, allocations: 7.938 kB / 0.6142 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.6003, allocations: 16 kB / 0.6142 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.6003, allocations: 16 kB / 0.6142 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007775/0.6011, allocations: 415.6 kB / 0.6146 GB, free: 3.949 MB / 446.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.002846/0.604, allocations: 2.562 MB / 0.6171 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.6046, allocations: 294.8 kB / 0.6174 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.6052, allocations: 445.5 kB / 0.6178 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.6053, allocations: 34.56 kB / 0.6178 GB, free: 308 kB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 3.136e-06/0.6053, allocations: 11.98 kB / 0.6179 GB, free: 296 kB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.002213/0.6075, allocations: 0.7195 MB / 0.6186 GB, free: 15.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.6076, allocations: 132.5 kB / 0.6187 GB, free: 15.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.6081, allocations: 437.9 kB / 0.6191 GB, free: 14.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.6081, allocations: 37.7 kB / 0.6191 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.6083, allocations: 275.7 kB / 0.6194 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.6084, allocations: 98.5 kB / 0.6195 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.6085, allocations: 16 kB / 0.6195 GB, free: 14.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6086, allocations: 354.8 kB / 0.6198 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.609, allocations: 147.9 kB / 0.62 GB, free: 14.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.6094, allocations: 275.2 kB / 0.6203 GB, free: 13.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.6099, allocations: 192.1 kB / 0.6204 GB, free: 13.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6099, allocations: 0 / 0.6204 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/0.611, allocations: 0.5326 MB / 0.621 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.611, allocations: 4 kB / 0.621 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.611, allocations: 4 kB / 0.621 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.613, allocations: 320.9 kB / 0.6213 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.6134, allocations: 107.8 kB / 0.6214 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/0.6143, allocations: 0.6027 MB / 0.622 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.6148, allocations: 59.56 kB / 0.622 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.6149, allocations: 47.97 kB / 0.6221 GB, free: 11.8 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.0002364/0.6151, allocations: 181.8 kB / 0.6222 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.6152, allocations: 55.39 kB / 0.6223 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.6173, allocations: 1.031 MB / 0.6233 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6173, allocations: 7.938 kB / 0.6233 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.6173, allocations: 0 / 0.6233 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6173, allocations: 4.625 kB / 0.6233 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.6189, allocations: 0.9635 MB / 0.6242 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.6189, allocations: 0 / 0.6242 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.6191, allocations: 55.91 kB / 0.6243 GB, free: 9.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.6212, allocations: 352.5 kB / 0.6246 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.6212, allocations: 11.98 kB / 0.6247 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007792/0.622, allocations: 0.6069 MB / 0.6252 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.622, allocations: 3.969 kB / 0.6252 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6232, allocations: 0.5632 MB / 0.6258 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.6233, allocations: 148.3 kB / 0.6259 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6234, allocations: 11.98 kB / 0.6259 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.6239, allocations: 39.92 kB / 0.626 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.624, allocations: 23.91 kB / 0.626 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.624, allocations: 19.97 kB / 0.626 GB, free: 7.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004591/0.6245, allocations: 358.8 kB / 0.6264 GB, free: 7.164 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6245, allocations: 0 / 0.6264 GB, free: 7.164 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008312/0.6253, allocations: 219.7 kB / 0.6266 GB, free: 6.949 MB / 462.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.002292/0.6276, allocations: 1.644 MB / 0.6282 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.6289, allocations: 380.3 kB / 0.6285 GB, free: 4.879 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6289, allocations: 0 / 0.6285 GB, free: 4.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.6296, allocations: 169 kB / 0.6287 GB, free: 4.715 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6308, allocations: 277.7 kB / 0.629 GB, free: 4.445 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.6363, allocations: 5.014 MB / 0.6339 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.6367, allocations: 0.859 MB / 0.6347 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.6379, allocations: 0.5413 MB / 0.6352 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.6383, allocations: 219.3 kB / 0.6354 GB, free: 13.67 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6383, allocations: 0 / 0.6354 GB, free: 13.67 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/0.6699, allocations: 16.97 MB / 0.652 GB, free: 13.05 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.6701, allocations: 289.1 kB / 0.6523 GB, free: 12.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.944, allocations: 0 / 0.6523 GB, free: 12.7 MB / 494.1 MB (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