Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.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.Sensors,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors",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.001489/0.001489, allocations: 182 kB / 13.66 MB, free: 1.664 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.055/2.055, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00106/0.00106, allocations: 90.64 kB / 267.5 MB, free: 14.11 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.2838/0.2838, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.976e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1184, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6108, allocations: 87.33 MB / 0.5582 GB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.611, allocations: 73.61 kB / 0.5582 GB, free: 208 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01249/0.6235, allocations: 2.801 MB / 0.561 GB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6236, allocations: 0 / 0.561 GB, free: 13.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.6236, allocations: 0 / 0.561 GB, free: 13.81 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007948/0.6244, allocations: 426.6 kB / 0.5614 GB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6245, allocations: 8.031 kB / 0.5614 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.6245, allocations: 46.36 kB / 0.5614 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.6246, allocations: 15.81 kB / 0.5614 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.6249, allocations: 210.7 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.6249, allocations: 11.66 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.625, allocations: 15.56 kB / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.6253, allocations: 126.4 kB / 0.5618 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6254, allocations: 0 / 0.5618 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.6254, allocations: 7.812 kB / 0.5618 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6254, allocations: 7.938 kB / 0.5618 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.6257, allocations: 75.78 kB / 0.5619 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.6269, allocations: 0.5614 MB / 0.5624 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.6272, allocations: 61.64 kB / 0.5625 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.6273, allocations: 16.55 kB / 0.5625 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.6273, allocations: 7.938 kB / 0.5625 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6273, allocations: 34.56 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.905e-06/0.6273, allocations: 0 / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002351/0.6276, allocations: 65.42 kB / 0.5626 GB, free: 12.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.6277, allocations: 51.41 kB / 0.5627 GB, free: 12.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.6279, allocations: 132.9 kB / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.6279, allocations: 25.7 kB / 0.5628 GB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.628, allocations: 201.5 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.6281, allocations: 19.3 kB / 0.563 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.6281, allocations: 11.88 kB / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6282, allocations: 310.8 kB / 0.5633 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.6283, allocations: 19.88 kB / 0.5633 GB, free: 11.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.6284, allocations: 51.59 kB / 0.5634 GB, free: 11.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.6285, allocations: 21.06 kB / 0.5634 GB, free: 11.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.6285, allocations: 0 / 0.5634 GB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.6288, allocations: 100.8 kB / 0.5635 GB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6288, allocations: 8 kB / 0.5635 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6288, allocations: 0 / 0.5635 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6289, allocations: 0 / 0.5635 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.6291, allocations: 31.67 kB / 0.5636 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6292, allocations: 8.078 kB / 0.5636 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.6294, allocations: 19.95 kB / 0.5636 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.6294, allocations: 8.078 kB / 0.5636 GB, free: 11.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.685e-05/0.6295, allocations: 115.3 kB / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.6295, allocations: 7.906 kB / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.6296, allocations: 15.91 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6296, allocations: 0 / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6296, allocations: 4 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6296, allocations: 7.938 kB / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.63, allocations: 200.8 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.63, allocations: 0 / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.6302, allocations: 19.98 kB / 0.5639 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.6302, allocations: 0 / 0.5639 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6302, allocations: 0 / 0.5639 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6302, allocations: 3.984 kB / 0.5639 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6302, allocations: 0 / 0.5639 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.6305, allocations: 175.5 kB / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.6305, allocations: 89 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.6306, allocations: 0 / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.6307, allocations: 4 kB / 0.5642 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.6308, allocations: 7.984 kB / 0.5642 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.6308, allocations: 0 / 0.5642 GB, free: 10.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.631, allocations: 115.9 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.631, allocations: 4 kB / 0.5643 GB, free: 10.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.6313, allocations: 30.72 kB / 0.5644 GB, free: 10.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005831/0.6319, allocations: 0.6962 MB / 0.565 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.6321, allocations: 47.12 kB / 0.5651 GB, free: 9.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6321, allocations: 0 / 0.5651 GB, free: 9.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.6322, allocations: 17.5 kB / 0.5651 GB, free: 9.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.6325, allocations: 11.48 kB / 0.5651 GB, free: 9.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.6332, allocations: 201.5 kB / 0.5653 GB, free: 9.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.6336, allocations: 0.716 MB / 0.566 GB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.6337, allocations: 37.36 kB / 0.566 GB, free: 8.598 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6337, allocations: 0 / 0.566 GB, free: 8.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.289, allocations: 1.856 MB / 0.5678 GB, free: 6.766 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat