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.001664/0.001663, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.178/2.178, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001101/0.0011, allocations: 94.05 kB / 270.9 MB, free: 8.387 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.5/0.5, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006746/0.0006746, allocations: 16 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1303, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.6049, allocations: 87.43 MB / 0.5642 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6052, allocations: 71.97 kB / 0.5643 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.6174, allocations: 2.82 MB / 0.567 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6174, allocations: 0 / 0.567 GB, free: 12.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.6174, allocations: 4 kB / 0.567 GB, free: 12.27 MB / 394.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.0008264/0.6183, allocations: 434.2 kB / 0.5674 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6183, allocations: 8.031 kB / 0.5675 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.651e-05/0.6184, allocations: 46.55 kB / 0.5675 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.6185, allocations: 19.25 kB / 0.5675 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.6188, allocations: 203 kB / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.6188, allocations: 8.281 kB / 0.5677 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.6189, allocations: 15.94 kB / 0.5677 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.6193, allocations: 147.8 kB / 0.5679 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6194, allocations: 0 / 0.5679 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.6194, allocations: 4 kB / 0.5679 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6194, allocations: 4 kB / 0.5679 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.6199, allocations: 117.8 kB / 0.568 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.6212, allocations: 0.5596 MB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.6216, allocations: 82.56 kB / 0.5686 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.6217, allocations: 0 / 0.5686 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.6217, allocations: 30.56 kB / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.6217, allocations: 0 / 0.5686 GB, free: 10.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007048/0.6225, allocations: 125.7 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6225, allocations: 55.36 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.6227, allocations: 145.3 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.6228, allocations: 33.7 kB / 0.569 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.6229, allocations: 201.8 kB / 0.5692 GB, free: 9.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.6229, allocations: 11.81 kB / 0.5692 GB, free: 9.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.623, allocations: 4 kB / 0.5692 GB, free: 9.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6231, allocations: 314.8 kB / 0.5695 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.6233, allocations: 35.98 kB / 0.5695 GB, free: 9.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.6236, allocations: 69.02 kB / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.6238, allocations: 36.84 kB / 0.5696 GB, free: 9.371 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6238, allocations: 4 kB / 0.5696 GB, free: 9.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005041/0.6243, allocations: 133.5 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6244, allocations: 8.125 kB / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6244, allocations: 0 / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.6244, allocations: 4 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.6247, allocations: 29.97 kB / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6247, allocations: 15.39 kB / 0.5698 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.6249, allocations: 19.8 kB / 0.5698 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.6249, allocations: 7.938 kB / 0.5698 GB, free: 9.152 MB / 394.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 () * Number of clocked 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 0.0001535/0.6251, allocations: 133.8 kB / 0.57 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.6251, allocations: 7.906 kB / 0.57 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.6252, allocations: 8.312 kB / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.6252, allocations: 0 / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6252, allocations: 0 / 0.57 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6252, allocations: 4 kB / 0.57 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.6256, allocations: 209.6 kB / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6256, allocations: 0 / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.6257, allocations: 15.98 kB / 0.5702 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6258, allocations: 4 kB / 0.5702 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.6258, allocations: 8 kB / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6258, allocations: 0 / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6258, allocations: 1.562 kB / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.6263, allocations: 199.3 kB / 0.5704 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.6264, allocations: 85.02 kB / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.6264, allocations: 0 / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.6266, allocations: 11.98 kB / 0.5705 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.6267, allocations: 7.984 kB / 0.5705 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6267, allocations: 0 / 0.5705 GB, free: 8.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.6268, allocations: 107.8 kB / 0.5706 GB, free: 8.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6268, allocations: 4 kB / 0.5706 GB, free: 8.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003848/0.6272, allocations: 31.84 kB / 0.5706 GB, free: 8.242 MB / 394.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 () * Number of clocked 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.000855/0.6281, allocations: 0.7327 MB / 0.5714 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.6286, allocations: 76.08 kB / 0.5714 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.738e-06/0.6286, allocations: 4.062 kB / 0.5714 GB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.6288, allocations: 31.98 kB / 0.5715 GB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.6291, allocations: 13.08 kB / 0.5715 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6314, allocations: 1.407 MB / 0.5729 GB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.6318, allocations: 0.708 MB / 0.5735 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.6319, allocations: 43.42 kB / 0.5736 GB, free: 5.117 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6319, allocations: 0 / 0.5736 GB, free: 5.117 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.509/3.141, allocations: 1.864 MB / 0.5754 GB, free: 3.258 MB / 394.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