Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.002365/0.002371, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.179/2.179, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001191/0.00119, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2946/0.2946, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006036/0.0006037, allocations: 11.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1611, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.6023/0.7635, allocations: 147 MB / 0.6224 GB, free: 7.691 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.7794, allocations: 7.088 MB / 0.6293 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000703/0.7801, allocations: 19.88 kB / 0.6293 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.7814, allocations: 258.6 kB / 0.6296 GB, free: 328 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.7875, allocations: 1.327 MB / 0.6309 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.7925, allocations: 0.8381 MB / 0.6317 GB, free: 14.15 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003226/0.7958, allocations: 0.8911 MB / 0.6326 GB, free: 13.26 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.7971, allocations: 356.2 kB / 0.6329 GB, free: 12.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.7994, allocations: 498.5 kB / 0.6334 GB, free: 12.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.8006, allocations: 334.8 kB / 0.6337 GB, free: 12.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.8009, allocations: 27.98 kB / 0.6337 GB, free: 12.06 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007611/0.8085, allocations: 1.864 MB / 0.6355 GB, free: 10.19 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.8091, allocations: 127.5 kB / 0.6357 GB, free: 10.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.8096, allocations: 145.4 kB / 0.6358 GB, free: 9.918 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.8142, allocations: 1.213 MB / 0.637 GB, free: 8.703 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8143, allocations: 4 kB / 0.637 GB, free: 8.699 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.434e-06/0.8143, allocations: 0 / 0.637 GB, free: 8.699 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.8143, allocations: 3.938 kB / 0.637 GB, free: 8.695 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.004246/0.8186, allocations: 0.9669 MB / 0.6379 GB, free: 7.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.8187, allocations: 8.031 kB / 0.6379 GB, free: 7.668 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/0.819, allocations: 90.48 kB / 0.638 GB, free: 7.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.8215, allocations: 135.2 kB / 0.6382 GB, free: 7.438 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.823, allocations: 448.8 kB / 0.6386 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.8231, allocations: 29 kB / 0.6386 GB, free: 6.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.8233, allocations: 36 kB / 0.6387 GB, free: 6.895 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.8258, allocations: 0.5867 MB / 0.6392 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.8259, allocations: 3.938 kB / 0.6392 GB, free: 6.266 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.826, allocations: 24 kB / 0.6393 GB, free: 6.242 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.8261, allocations: 11.95 kB / 0.6393 GB, free: 6.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.8283, allocations: 479.6 kB / 0.6397 GB, free: 5.762 MB / 442.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.006679/0.835, allocations: 2.669 MB / 0.6423 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.8368, allocations: 350.9 kB / 0.6427 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.8375, allocations: 322 kB / 0.643 GB, free: 2.156 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.8376, allocations: 42.83 kB / 0.643 GB, free: 2.105 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.998e-06/0.8376, allocations: 0 / 0.643 GB, free: 2.105 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.003743/0.8414, allocations: 0.7193 MB / 0.6437 GB, free: 1.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.8416, allocations: 132.5 kB / 0.6438 GB, free: 1.199 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.8428, allocations: 469.9 kB / 0.6443 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.8429, allocations: 37.64 kB / 0.6443 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.8433, allocations: 310.3 kB / 0.6446 GB, free: 392 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.8436, allocations: 118.3 kB / 0.6447 GB, free: 272 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.8436, allocations: 8 kB / 0.6447 GB, free: 264 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.8439, allocations: 330.8 kB / 0.6451 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/0.8447, allocations: 152.8 kB / 0.6452 GB, free: 15.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009838/0.8457, allocations: 275.7 kB / 0.6455 GB, free: 15.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009074/0.8467, allocations: 185 kB / 0.6456 GB, free: 15.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.8467, allocations: 4 kB / 0.6456 GB, free: 15.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002431/0.8491, allocations: 0.5098 MB / 0.6461 GB, free: 14.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.8492, allocations: 7.938 kB / 0.6461 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.8493, allocations: 4 kB / 0.6462 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.8534, allocations: 288.6 kB / 0.6464 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.8545, allocations: 103.9 kB / 0.6465 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.8556, allocations: 0.5914 MB / 0.6471 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.8567, allocations: 71.42 kB / 0.6472 GB, free: 13.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.8569, allocations: 44 kB / 0.6472 GB, free: 13.62 MB / 458.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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0006294/0.8575, allocations: 177.8 kB / 0.6474 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.8578, allocations: 55.44 kB / 0.6474 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.8616, allocations: 0.7374 MB / 0.6482 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.8617, allocations: 3.984 kB / 0.6482 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.8617, allocations: 7.953 kB / 0.6482 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.8617, allocations: 0 / 0.6482 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.8647, allocations: 1.003 MB / 0.6491 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.8647, allocations: 0 / 0.6491 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.8653, allocations: 59.86 kB / 0.6492 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007986/0.8733, allocations: 0.5355 MB / 0.6497 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.8735, allocations: 11.98 kB / 0.6497 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009095/0.8744, allocations: 0.5953 MB / 0.6503 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8744, allocations: 3.984 kB / 0.6503 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.8764, allocations: 0.5785 MB / 0.6509 GB, free: 9.656 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.8768, allocations: 152.3 kB / 0.651 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.877, allocations: 8.062 kB / 0.651 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.878, allocations: 43.97 kB / 0.6511 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.8781, allocations: 19.97 kB / 0.6511 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8783, allocations: 19.98 kB / 0.6511 GB, free: 9.398 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.8793, allocations: 374.8 kB / 0.6515 GB, free: 9.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.8793, allocations: 0 / 0.6515 GB, free: 9.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00233/0.8817, allocations: 375.5 kB / 0.6518 GB, free: 8.668 MB / 458.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 (27): * Single equations (assignments): 26 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005047/0.8868, allocations: 1.862 MB / 0.6537 GB, free: 6.746 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.8889, allocations: 375.6 kB / 0.654 GB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.8889, allocations: 0 / 0.654 GB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008792/0.8898, allocations: 173 kB / 0.6542 GB, free: 6.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/0.8935, allocations: 286 kB / 0.6545 GB, free: 5.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.9056, allocations: 5.172 MB / 0.6595 GB, free: 0.625 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008204/0.9065, allocations: 0.8672 MB / 0.6603 GB, free: 15.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.9076, allocations: 227.3 kB / 0.6606 GB, free: 15.51 MB / 474.7 MB Notification: Performance of SimCode: time 3.918e-06/0.9076, allocations: 0 / 0.6606 GB, free: 15.51 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.405/4.313, allocations: 17.6 MB / 0.6778 GB, free: 13.91 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat