Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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) 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(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",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.0009599/0.0009599, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.356/1.356, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008801/0.0008798, allocations: 90.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.491e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09267, allocations: 47.58 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.4002, allocations: 77.14 MB / 447.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4004, allocations: 69.22 kB / 447.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006976/0.4074, allocations: 2.744 MB / 450.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4074, allocations: 0 / 450.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4075, allocations: 4 kB / 450.1 MB, free: 13.39 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004565/0.4079, allocations: 409.1 kB / 450.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.408, allocations: 8.031 kB / 450.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.408, allocations: 45.61 kB / 450.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.4081, allocations: 15.81 kB / 450.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.4083, allocations: 204.5 kB / 450.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4084, allocations: 16.33 kB / 450.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.4084, allocations: 15.25 kB / 450.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.4086, allocations: 106.9 kB / 450.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4086, allocations: 3.984 kB / 450.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.4086, allocations: 3.062 kB / 450.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4087, allocations: 4 kB / 450.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.4088, allocations: 63.39 kB / 450.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.4096, allocations: 0.618 MB / 451.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.4099, allocations: 77.69 kB / 451.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.4099, allocations: 30.17 kB / 451.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.41, allocations: 0 / 451.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.41, allocations: 41.69 kB / 451.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.41, allocations: 0 / 451.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002994/0.4103, allocations: 102.8 kB / 451.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4104, allocations: 55.34 kB / 451.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4105, allocations: 135.9 kB / 452 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4105, allocations: 33.14 kB / 452 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.4106, allocations: 125.9 kB / 452.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.4106, allocations: 18.91 kB / 452.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.4106, allocations: 0 / 452.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4108, allocations: 317.5 kB / 452.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.4108, allocations: 18.62 kB / 452.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.4109, allocations: 40.31 kB / 452.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.4109, allocations: 22.06 kB / 452.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4109, allocations: 0 / 452.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002728/0.4112, allocations: 128.4 kB / 452.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4112, allocations: 7.938 kB / 452.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4112, allocations: 4 kB / 452.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.4114, allocations: 39.03 kB / 452.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.4115, allocations: 11.98 kB / 452.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.4129, allocations: 1.518 MB / 454.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.413, allocations: 11.86 kB / 454.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.413, allocations: 0 / 454.3 MB, free: 9.168 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/0.4131, allocations: 116.1 kB / 454.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.4131, allocations: 7.969 kB / 454.4 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.4132, allocations: 20.17 kB / 454.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.4132, allocations: 0 / 454.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.4132, allocations: 0 / 454.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4132, allocations: 0 / 454.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.4134, allocations: 211 kB / 454.6 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.4134, allocations: 4 kB / 454.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.4135, allocations: 4 kB / 454.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.4136, allocations: 39.08 kB / 454.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4136, allocations: 4 kB / 454.7 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.4148, allocations: 1.497 MB / 456.2 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4148, allocations: 4.203 kB / 456.2 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.415, allocations: 212 kB / 456.4 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.4151, allocations: 88.86 kB / 456.5 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4151, allocations: 4 kB / 456.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4152, allocations: 15.73 kB / 456.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.4153, allocations: 4 kB / 456.5 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4153, allocations: 3.984 kB / 456.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.815e-05/0.4154, allocations: 106.2 kB / 456.6 MB, free: 6.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4154, allocations: 0 / 456.6 MB, free: 6.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.4157, allocations: 35.62 kB / 456.6 MB, free: 6.758 MB / 330.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 (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005684/0.4163, allocations: 0.7433 MB / 457.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.4166, allocations: 184.4 kB / 457.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4166, allocations: 0 / 457.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.4168, allocations: 153.3 kB / 457.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.417, allocations: 24.67 kB / 457.7 MB, free: 5.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.4175, allocations: 191.8 kB / 457.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4178, allocations: 0.7082 MB / 458.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.688e-05/0.4178, allocations: 16.36 kB / 458.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.4179, allocations: 29.62 kB / 458.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4179, allocations: 0 / 458.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.4316, allocations: 2.565 MB / 461.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.4318, allocations: 188.7 kB / 461.4 MB, free: 1.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/1.954, allocations: 0 / 461.4 MB, free: 1.91 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat does not exist to compare? outputFormat=mat