Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_3_2_3_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.001189/0.001189, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008488/0.0008486, allocations: 86.81 kB / 270.2 MB, free: 13.36 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.2286/0.2286, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0002999, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4404, allocations: 87.44 MB / 0.5642 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.4408, allocations: 71.53 kB / 0.5643 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00815/0.4489, allocations: 2.819 MB / 0.5671 GB, free: 9.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.449, allocations: 4 kB / 0.5671 GB, free: 9.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.449, allocations: 0 / 0.5671 GB, free: 9.785 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.0006018/0.4496, allocations: 426.8 kB / 0.5675 GB, free: 9.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4497, allocations: 12.03 kB / 0.5675 GB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.4497, allocations: 45.23 kB / 0.5675 GB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.4498, allocations: 15.81 kB / 0.5675 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.45, allocations: 218.2 kB / 0.5677 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.45, allocations: 11.03 kB / 0.5677 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.4501, allocations: 11.5 kB / 0.5678 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.4504, allocations: 138.9 kB / 0.5679 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4504, allocations: 0.875 kB / 0.5679 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4504, allocations: 6.5 kB / 0.5679 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4504, allocations: 4 kB / 0.5679 GB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.4508, allocations: 116.7 kB / 0.568 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.4516, allocations: 0.5703 MB / 0.5686 GB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.4519, allocations: 73.06 kB / 0.5686 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.4519, allocations: 8 kB / 0.5686 GB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.452, allocations: 30.56 kB / 0.5687 GB, free: 8.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.452, allocations: 0 / 0.5687 GB, free: 8.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000406/0.4524, allocations: 126.7 kB / 0.5688 GB, free: 8.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4524, allocations: 55.36 kB / 0.5689 GB, free: 7.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4526, allocations: 139.1 kB / 0.569 GB, free: 7.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4526, allocations: 29.64 kB / 0.569 GB, free: 7.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.4527, allocations: 133.8 kB / 0.5691 GB, free: 7.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.4527, allocations: 15.31 kB / 0.5692 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4527, allocations: 0 / 0.5692 GB, free: 7.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4528, allocations: 329.7 kB / 0.5695 GB, free: 7.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.4529, allocations: 31.84 kB / 0.5695 GB, free: 7.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4531, allocations: 66.27 kB / 0.5696 GB, free: 7.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.4532, allocations: 39.42 kB / 0.5696 GB, free: 7.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4532, allocations: 0 / 0.5696 GB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002823/0.4535, allocations: 138.7 kB / 0.5697 GB, free: 7.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4535, allocations: 8 kB / 0.5697 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4535, allocations: 80 / 0.5697 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4535, allocations: 4 kB / 0.5697 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4537, allocations: 27.36 kB / 0.5698 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4537, allocations: 7.984 kB / 0.5698 GB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4538, allocations: 31.84 kB / 0.5698 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4538, allocations: 7.984 kB / 0.5698 GB, free: 6.98 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 () * 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 9.816e-05/0.4539, allocations: 120.9 kB / 0.5699 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.454, allocations: 14.97 kB / 0.5699 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.454, allocations: 15.86 kB / 0.57 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.454, allocations: 0 / 0.57 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.454, allocations: 3.938 kB / 0.57 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.454, allocations: 4 kB / 0.57 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.4543, allocations: 205.5 kB / 0.5702 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4543, allocations: 0 / 0.5702 GB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-05/0.4544, allocations: 19.98 kB / 0.5702 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4544, allocations: 0 / 0.5702 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4544, allocations: 0 / 0.5702 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4544, allocations: 3.984 kB / 0.5702 GB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4544, allocations: 4 kB / 0.5702 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.4547, allocations: 201.1 kB / 0.5704 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.4548, allocations: 81.08 kB / 0.5705 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4548, allocations: 4 kB / 0.5705 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.4549, allocations: 19.17 kB / 0.5705 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.455, allocations: 4 kB / 0.5705 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.455, allocations: 0 / 0.5705 GB, free: 6.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.455, allocations: 114.6 kB / 0.5706 GB, free: 6.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.455, allocations: 0 / 0.5706 GB, free: 6.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.4553, allocations: 31.47 kB / 0.5706 GB, free: 6.125 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 () * 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.0005709/0.4559, allocations: 0.726 MB / 0.5713 GB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.4562, allocations: 89.31 kB / 0.5714 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4562, allocations: 0 / 0.5714 GB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.625e-05/0.4563, allocations: 27.48 kB / 0.5714 GB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.4565, allocations: 14.69 kB / 0.5715 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.4581, allocations: 1.379 MB / 0.5728 GB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4585, allocations: 0.7157 MB / 0.5735 GB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.4586, allocations: 4.672 kB / 0.5735 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.4587, allocations: 36.11 kB / 0.5735 GB, free: 3.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4587, allocations: 0 / 0.5735 GB, free: 3.133 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.4712, allocations: 1.912 MB / 0.5754 GB, free: 1.262 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.4714, allocations: 165.5 kB / 0.5756 GB, free: 1.016 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.054, allocations: 0 / 0.5756 GB, free: 1.016 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sensors.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat does not exist to compare? outputFormat=mat