Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",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.001475/0.001475, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.146/2.146, 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.001578/0.001577, allocations: 91.39 kB / 270.9 MB, free: 8.367 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.5426/0.5426, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007187/0.0007187, allocations: 16 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1416, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.3/11.44, allocations: 3.604 GB / 4.083 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/11.44, allocations: 87.95 kB / 4.083 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.787/14.23, allocations: 474.8 MB / 4.546 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.863e-06/14.23, allocations: 0 / 4.546 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.168e-05/14.23, allocations: 27.95 kB / 4.546 GB, free: 66.32 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008856/14.24, allocations: 2.059 MB / 4.548 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/14.24, allocations: 9.406 kB / 4.548 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007383/14.24, allocations: 132.7 kB / 4.549 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/14.24, allocations: 116.2 kB / 4.549 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/14.24, allocations: 0.7444 MB / 4.549 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/14.24, allocations: 58.64 kB / 4.549 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/14.24, allocations: 81.12 kB / 4.55 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/14.25, allocations: 1.244 MB / 4.551 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/14.25, allocations: 2.469 kB / 4.551 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/14.25, allocations: 31.47 kB / 4.551 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/14.25, allocations: 72.12 kB / 4.551 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/14.25, allocations: 1.388 MB / 4.552 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/14.27, allocations: 4.729 MB / 4.557 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/14.28, allocations: 0.8467 MB / 4.558 GB, free: 63.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/14.28, allocations: 0.741 MB / 4.558 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/14.28, allocations: 43.97 kB / 4.558 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=55): time 5.55e-06/14.28, allocations: 0 / 4.558 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55): time 0.005352/14.28, allocations: 1.228 MB / 4.56 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/14.28, allocations: 111.3 kB / 4.56 GB, free: 62.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/14.28, allocations: 0.8713 MB / 4.561 GB, free: 61.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002976/14.28, allocations: 35.58 kB / 4.561 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/14.28, allocations: 455.8 kB / 4.561 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/14.28, allocations: 194 kB / 4.561 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/14.28, allocations: 18.47 kB / 4.561 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001023/14.29, allocations: 343.1 kB / 4.562 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/14.29, allocations: 448.4 kB / 4.562 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/14.29, allocations: 0.5634 MB / 4.563 GB, free: 61.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/14.29, allocations: 0.5224 MB / 4.563 GB, free: 61.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/14.29, allocations: 0 / 4.563 GB, free: 61.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003882/14.29, allocations: 1.173 MB / 4.564 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002541/14.29, allocations: 0.9646 MB / 4.565 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/14.29, allocations: 3.469 kB / 4.565 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/14.29, allocations: 7.219 kB / 4.565 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/14.3, allocations: 204.3 kB / 4.565 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/14.3, allocations: 12.23 kB / 4.565 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/14.3, allocations: 140 kB / 4.565 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/14.3, allocations: 59.44 kB / 4.566 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/14.3, allocations: 5.344 kB / 4.566 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003307/14.3, allocations: 1.082 MB / 4.567 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/14.3, allocations: 3.312 kB / 4.567 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/14.3, allocations: 6.5 kB / 4.567 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/14.3, allocations: 204.5 kB / 4.567 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/14.3, allocations: 15.41 kB / 4.567 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/14.3, allocations: 78.84 kB / 4.567 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/14.3, allocations: 66.31 kB / 4.567 GB, free: 59.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008612/14.31, allocations: 367 kB / 4.567 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/14.31, allocations: 97.97 kB / 4.567 GB, free: 59.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/14.31, allocations: 1.252 MB / 4.569 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/14.31, allocations: 7.125 kB / 4.569 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/14.31, allocations: 3.344 kB / 4.569 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/14.31, allocations: 5.75 kB / 4.569 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/14.32, allocations: 1.998 MB / 4.571 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/14.32, allocations: 5.438 kB / 4.571 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/14.32, allocations: 134.3 kB / 4.571 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/14.32, allocations: 7.797 kB / 4.571 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/14.32, allocations: 26.41 kB / 4.571 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/14.32, allocations: 7.859 kB / 4.571 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/14.32, allocations: 6.688 kB / 4.571 GB, free: 59.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/14.32, allocations: 1.142 MB / 4.572 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005134/14.32, allocations: 218.5 kB / 4.572 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/14.32, allocations: 14.22 kB / 4.572 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/14.32, allocations: 49.47 kB / 4.572 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/14.32, allocations: 48.67 kB / 4.572 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/14.32, allocations: 60.33 kB / 4.572 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001378/14.32, allocations: 0.69 MB / 4.573 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.452e-06/14.32, allocations: 0 / 4.573 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005752/14.33, allocations: 1.363 MB / 4.574 GB, free: 58.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/14.34, allocations: 4.116 MB / 4.578 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004784/14.34, allocations: 1.562 MB / 4.58 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/14.34, allocations: 0 / 4.58 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/14.35, allocations: 447 kB / 4.58 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/14.35, allocations: 0.4987 MB / 4.581 GB, free: 56.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009284/14.36, allocations: 4.653 MB / 4.585 GB, free: 53.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/14.36, allocations: 1.07 MB / 4.586 GB, free: 52.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/14.36, allocations: 387.8 kB / 4.587 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/14.36, allocations: 2.469 kB / 4.587 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.531/17.89, allocations: 36.82 MB / 4.623 GB, free: 47.25 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat