Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001609, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 102.2 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5469/0.5469, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000671/0.0006713, allocations: 12 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1439, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5689/0.7128, allocations: 146.8 MB / 0.6222 GB, free: 4.234 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.7237, allocations: 4.302 MB / 0.6264 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008867/0.7247, allocations: 19.81 kB / 0.6265 GB, free: 15.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.726, allocations: 238.8 kB / 0.6267 GB, free: 15.68 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.7312, allocations: 1.099 MB / 0.6278 GB, free: 14.58 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.734, allocations: 0.5561 MB / 0.6283 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.7364, allocations: 0.8585 MB / 0.6291 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009114/0.7373, allocations: 343.6 kB / 0.6295 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.739, allocations: 494.5 kB / 0.6299 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007725/0.7398, allocations: 318.8 kB / 0.6302 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.74, allocations: 24 kB / 0.6303 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.7428, allocations: 0.7802 MB / 0.631 GB, free: 11.24 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.7432, allocations: 127.5 kB / 0.6311 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.7435, allocations: 137.5 kB / 0.6313 GB, free: 10.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.746, allocations: 0.8923 MB / 0.6321 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7461, allocations: 3.938 kB / 0.6322 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7461, allocations: 4 kB / 0.6322 GB, free: 10.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.7461, allocations: 0 / 0.6322 GB, free: 10.08 MB / 458.7 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.00265/0.7488, allocations: 0.8884 MB / 0.633 GB, free: 9.141 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.7489, allocations: 8.562 kB / 0.633 GB, free: 9.133 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.7491, allocations: 90.52 kB / 0.6331 GB, free: 9.035 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.7505, allocations: 132.3 kB / 0.6332 GB, free: 8.906 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.7516, allocations: 428.9 kB / 0.6337 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.7517, allocations: 29 kB / 0.6337 GB, free: 8.418 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.7519, allocations: 36 kB / 0.6337 GB, free: 8.383 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.7536, allocations: 0.5515 MB / 0.6343 GB, free: 7.793 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.7536, allocations: 3.938 kB / 0.6343 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.7537, allocations: 23.95 kB / 0.6343 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.7538, allocations: 12 kB / 0.6343 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.7552, allocations: 411.6 kB / 0.6347 GB, free: 7.352 MB / 458.7 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.004887/0.7601, allocations: 2.576 MB / 0.6372 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.7612, allocations: 299.1 kB / 0.6375 GB, free: 4.254 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000899/0.7622, allocations: 335.6 kB / 0.6378 GB, free: 3.875 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.7622, allocations: 35.44 kB / 0.6378 GB, free: 3.832 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 2.815e-06/0.7622, allocations: 0 / 0.6378 GB, free: 3.832 MB / 458.7 MB Notification: Performance of matching and sorting (n=29): time 0.004278/0.7665, allocations: 0.7224 MB / 0.6385 GB, free: 3.086 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.7667, allocations: 136.5 kB / 0.6387 GB, free: 2.922 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.7676, allocations: 449.9 kB / 0.6391 GB, free: 2.473 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.7677, allocations: 33.7 kB / 0.6391 GB, free: 2.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.768, allocations: 306.2 kB / 0.6394 GB, free: 2.133 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.7682, allocations: 102.5 kB / 0.6395 GB, free: 2.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.7682, allocations: 8 kB / 0.6395 GB, free: 2.023 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7684, allocations: 334.8 kB / 0.6399 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.7692, allocations: 143.9 kB / 0.64 GB, free: 1.547 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008326/0.77, allocations: 275.2 kB / 0.6403 GB, free: 1.223 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.7708, allocations: 183.9 kB / 0.6404 GB, free: 1.043 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.7709, allocations: 0 / 0.6404 GB, free: 1.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002147/0.773, allocations: 0.4941 MB / 0.6409 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.7731, allocations: 8.625 kB / 0.6409 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.7731, allocations: 4 kB / 0.6409 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/0.777, allocations: 320.8 kB / 0.6412 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.7778, allocations: 99.88 kB / 0.6413 GB, free: 116 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.7797, allocations: 0.6068 MB / 0.6419 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/0.7807, allocations: 59.52 kB / 0.642 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7808, allocations: 49.97 kB / 0.642 GB, free: 15.38 MB / 474.7 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.0004276/0.7813, allocations: 177.8 kB / 0.6422 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.7814, allocations: 51.44 kB / 0.6422 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.7846, allocations: 0.6727 MB / 0.6429 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.7846, allocations: 7.984 kB / 0.6429 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.7847, allocations: 4 kB / 0.6429 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7847, allocations: 0 / 0.6429 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/0.7878, allocations: 0.9751 MB / 0.6439 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7879, allocations: 0 / 0.6439 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.7883, allocations: 47.97 kB / 0.6439 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/0.7925, allocations: 344.6 kB / 0.6442 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.675e-05/0.7926, allocations: 11.98 kB / 0.6442 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.7944, allocations: 0.6069 MB / 0.6448 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7944, allocations: 0 / 0.6448 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.797, allocations: 0.5744 MB / 0.6454 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.7973, allocations: 152.4 kB / 0.6455 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7975, allocations: 8 kB / 0.6456 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/0.7983, allocations: 35.97 kB / 0.6456 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7984, allocations: 19.92 kB / 0.6456 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.7985, allocations: 23.97 kB / 0.6456 GB, free: 11.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007173/0.7992, allocations: 358.8 kB / 0.646 GB, free: 11.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7993, allocations: 0 / 0.646 GB, free: 11.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001407/0.8007, allocations: 259.7 kB / 0.6462 GB, free: 10.86 MB / 474.7 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.004371/0.8051, allocations: 1.716 MB / 0.6479 GB, free: 9.086 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.8078, allocations: 376 kB / 0.6483 GB, free: 8.719 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.8079, allocations: 0 / 0.6483 GB, free: 8.719 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.8094, allocations: 168.9 kB / 0.6484 GB, free: 8.555 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.8119, allocations: 269 kB / 0.6487 GB, free: 8.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.8229, allocations: 5.073 MB / 0.6536 GB, free: 3.109 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.8235, allocations: 0.8551 MB / 0.6545 GB, free: 2.227 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008589/0.8244, allocations: 227.3 kB / 0.6547 GB, free: 2.004 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8244, allocations: 0 / 0.6547 GB, free: 2.004 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.232/4.057, allocations: 15.3 MB / 0.6696 GB, free: 2.727 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat