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.002166/0.002166, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 98.81 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3381/0.3381, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.124e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3916, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.5837, allocations: 86.68 MB / 0.5506 GB, free: 12.52 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.5841, allocations: 67.47 kB / 0.5507 GB, free: 12.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.6017, allocations: 2.787 MB / 0.5534 GB, free: 9.672 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6018, allocations: 3.938 kB / 0.5534 GB, free: 9.668 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.6018, allocations: 4 kB / 0.5534 GB, free: 9.664 MB / 395.1 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.001093/0.6029, allocations: 425.7 kB / 0.5538 GB, free: 9.203 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.603, allocations: 12.03 kB / 0.5538 GB, free: 9.191 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.6031, allocations: 15.81 kB / 0.5539 GB, free: 9.176 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.6035, allocations: 203 kB / 0.5541 GB, free: 8.938 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.6035, allocations: 8 kB / 0.5541 GB, free: 8.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.6036, allocations: 4 kB / 0.5541 GB, free: 8.926 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003765/0.604, allocations: 72.56 kB / 0.5541 GB, free: 8.855 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.6044, allocations: 99.62 kB / 0.5542 GB, free: 8.754 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6044, allocations: 0 / 0.5542 GB, free: 8.754 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.6044, allocations: 7.922 kB / 0.5542 GB, free: 8.746 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6045, allocations: 8 kB / 0.5542 GB, free: 8.738 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.6062, allocations: 0.5153 MB / 0.5547 GB, free: 8.168 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.6066, allocations: 58.59 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.6066, allocations: 12.98 kB / 0.5548 GB, free: 8.086 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.6067, allocations: 4 kB / 0.5548 GB, free: 8.082 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.6068, allocations: 34.56 kB / 0.5549 GB, free: 8.039 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 6.272e-06/0.6068, allocations: 0 / 0.5549 GB, free: 8.039 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003396/0.6071, allocations: 61.58 kB / 0.5549 GB, free: 7.973 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.6072, allocations: 55.41 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.6074, allocations: 132.5 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.6075, allocations: 25.7 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.6077, allocations: 201.9 kB / 0.5553 GB, free: 7.539 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.6077, allocations: 19.73 kB / 0.5553 GB, free: 7.52 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.6078, allocations: 0 / 0.5553 GB, free: 7.52 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6079, allocations: 314.8 kB / 0.5556 GB, free: 7.203 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.608, allocations: 16 kB / 0.5556 GB, free: 7.188 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.6082, allocations: 52.28 kB / 0.5557 GB, free: 7.121 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.6083, allocations: 23.92 kB / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6083, allocations: 0 / 0.5557 GB, free: 7.098 MB / 395.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003336/0.6087, allocations: 81.67 kB / 0.5558 GB, free: 7.012 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.6087, allocations: 8.125 kB / 0.5558 GB, free: 7.004 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6087, allocations: 8 kB / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.6088, allocations: 4 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.6092, allocations: 23.98 kB / 0.5558 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.6092, allocations: 7.938 kB / 0.5558 GB, free: 6.961 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.6095, allocations: 19.84 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.6095, allocations: 8 kB / 0.5559 GB, free: 6.934 MB / 395.1 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 0.0001263/0.6097, allocations: 108.9 kB / 0.556 GB, free: 6.82 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002271/0.6099, allocations: 61.59 kB / 0.556 GB, free: 6.754 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.61, allocations: 7.906 kB / 0.556 GB, free: 6.746 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.6101, allocations: 16.28 kB / 0.5561 GB, free: 6.73 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.6101, allocations: 7.953 kB / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6101, allocations: 0 / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6101, allocations: 0 / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.6105, allocations: 170.2 kB / 0.5562 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.6106, allocations: 3.984 kB / 0.5562 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.6108, allocations: 27.92 kB / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6109, allocations: 0 / 0.5563 GB, free: 6.488 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.6109, allocations: 4 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6109, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6109, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.6112, allocations: 155.4 kB / 0.5564 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.6113, allocations: 81.02 kB / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.6114, allocations: 4 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.6116, allocations: 11.98 kB / 0.5565 GB, free: 6.203 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.6117, allocations: 11.98 kB / 0.5565 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.6118, allocations: 128 / 0.5565 GB, free: 6.191 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.6119, allocations: 103.2 kB / 0.5566 GB, free: 6.09 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6119, allocations: 0 / 0.5566 GB, free: 6.09 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000608/0.6125, allocations: 27.84 kB / 0.5566 GB, free: 6.062 MB / 395.1 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.0007423/0.6133, allocations: 0.6967 MB / 0.5573 GB, free: 5.34 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.6136, allocations: 39.94 kB / 0.5574 GB, free: 5.301 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6136, allocations: 0 / 0.5574 GB, free: 5.301 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.6137, allocations: 16 kB / 0.5574 GB, free: 5.285 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.614, allocations: 7.953 kB / 0.5574 GB, free: 5.277 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.6151, allocations: 200.3 kB / 0.5576 GB, free: 5.039 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.6156, allocations: 0.708 MB / 0.5583 GB, free: 4.305 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.6157, allocations: 39.36 kB / 0.5583 GB, free: 4.266 MB / 395.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6157, allocations: 0 / 0.5583 GB, free: 4.266 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.401/3.017, allocations: 1.822 MB / 0.5601 GB, free: 2.445 MB / 395.1 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