Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.001539/0.001539, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 82.64 kB / 261.7 MB, free: 1.68 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.2185/0.2185, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.807e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1542, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5915, allocations: 87.09 MB / 0.5511 GB, free: 7.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00016/0.5917, allocations: 67.56 kB / 0.5511 GB, free: 7.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01608/0.6078, allocations: 6.911 MB / 0.5579 GB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6079, allocations: 0 / 0.5579 GB, free: 2.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.6079, allocations: 4 kB / 0.5579 GB, free: 2.016 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008609/0.6088, allocations: 0.5862 MB / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6089, allocations: 8.031 kB / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.609, allocations: 39.53 kB / 0.5585 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.6093, allocations: 284.7 kB / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.6093, allocations: 12 kB / 0.5588 GB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.6093, allocations: 20 kB / 0.5588 GB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00033/0.6097, allocations: 187.5 kB / 0.559 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.6101, allocations: 272.9 kB / 0.5593 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6101, allocations: 0 / 0.5593 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.6101, allocations: 0 / 0.5593 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.6101, allocations: 16 kB / 0.5593 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.6116, allocations: 1.221 MB / 0.5605 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.6119, allocations: 158.7 kB / 0.5606 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.612, allocations: 52.19 kB / 0.5607 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.6121, allocations: 7.672 kB / 0.5607 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6121, allocations: 38.5 kB / 0.5607 GB, free: 15.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.6121, allocations: 0 / 0.5607 GB, free: 15.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003099/0.6124, allocations: 133.4 kB / 0.5608 GB, free: 15.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.6125, allocations: 132.5 kB / 0.561 GB, free: 15.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.6127, allocations: 235.6 kB / 0.5612 GB, free: 14.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.6128, allocations: 25.7 kB / 0.5612 GB, free: 14.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.6129, allocations: 247.1 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.613, allocations: 57.52 kB / 0.5615 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.613, allocations: 0 / 0.5615 GB, free: 14.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6131, allocations: 336.4 kB / 0.5618 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.6132, allocations: 47.38 kB / 0.5619 GB, free: 14.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.6134, allocations: 138.8 kB / 0.562 GB, free: 14.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.6135, allocations: 60.09 kB / 0.5621 GB, free: 14.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6135, allocations: 4 kB / 0.5621 GB, free: 14.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000318/0.6138, allocations: 218 kB / 0.5623 GB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6138, allocations: 8 kB / 0.5623 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6138, allocations: 0 / 0.5623 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6139, allocations: 8.25 kB / 0.5623 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.6142, allocations: 83.39 kB / 0.5624 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6142, allocations: 4 kB / 0.5624 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.6145, allocations: 47.61 kB / 0.5624 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.6145, allocations: 11.44 kB / 0.5624 GB, free: 13.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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 8.693e-05/0.6146, allocations: 116.9 kB / 0.5625 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002406/0.6149, allocations: 126.5 kB / 0.5627 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.6149, allocations: 27.22 kB / 0.5627 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.2e-05/0.615, allocations: 25.52 kB / 0.5627 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.615, allocations: 4.141 kB / 0.5627 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.615, allocations: 4 kB / 0.5627 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.615, allocations: 3.984 kB / 0.5627 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.6157, allocations: 0.5359 MB / 0.5632 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6157, allocations: 0 / 0.5632 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.6159, allocations: 47.92 kB / 0.5633 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6159, allocations: 0 / 0.5633 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6159, allocations: 4.156 kB / 0.5633 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6159, allocations: 8 kB / 0.5633 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.616, allocations: 4.188 kB / 0.5633 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.6163, allocations: 406.9 kB / 0.5637 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.6163, allocations: 112.6 kB / 0.5638 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.6164, allocations: 4 kB / 0.5638 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.6166, allocations: 19.98 kB / 0.5638 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.6167, allocations: 23.84 kB / 0.5638 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.6167, allocations: 7.625 kB / 0.5638 GB, free: 12.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.6168, allocations: 172.8 kB / 0.564 GB, free: 12.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6169, allocations: 0 / 0.564 GB, free: 12.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.6172, allocations: 71.69 kB / 0.5641 GB, free: 11.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0007297/0.618, allocations: 1.347 MB / 0.5654 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.6182, allocations: 128.4 kB / 0.5655 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6182, allocations: 4 kB / 0.5655 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.6183, allocations: 51.23 kB / 0.5656 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.6186, allocations: 20.7 kB / 0.5656 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.6195, allocations: 399.6 kB / 0.566 GB, free: 10.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.6199, allocations: 0.7791 MB / 0.5667 GB, free: 9.227 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.62, allocations: 17.86 kB / 0.5668 GB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.6202, allocations: 102.7 kB / 0.5668 GB, free: 9.184 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6202, allocations: 0 / 0.5668 GB, free: 9.184 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.6431, allocations: 3.612 MB / 0.5704 GB, free: 5.582 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.6434, allocations: 115.4 kB / 0.5705 GB, free: 5.395 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.506, allocations: 0 / 0.5705 GB, free: 5.395 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat