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.001105/0.001104, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008835, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.043e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.0929, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4277, allocations: 76.73 MB / 439.9 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.428, allocations: 76.77 kB / 440 MB, free: 2.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00719/0.4352, allocations: 2.726 MB / 442.7 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4352, allocations: 0 / 442.7 MB, free: 268 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4352, allocations: 0 / 442.7 MB, free: 268 kB / 314.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.000468/0.4357, allocations: 410.8 kB / 443.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4358, allocations: 8.031 kB / 443.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.4359, allocations: 15.81 kB / 443.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4361, allocations: 204.5 kB / 443.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4362, allocations: 7.953 kB / 443.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.4362, allocations: 8.766 kB / 443.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001485/0.4363, allocations: 61.16 kB / 443.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4365, allocations: 89.38 kB / 443.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4365, allocations: 4 kB / 443.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4366, allocations: 0 / 443.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4366, allocations: 3.984 kB / 443.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007991/0.4374, allocations: 0.5687 MB / 444.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4377, allocations: 86.81 kB / 444.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.4377, allocations: 23.8 kB / 444.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4377, allocations: 0 / 444.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4378, allocations: 37.62 kB / 444.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.4378, allocations: 4 kB / 444.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003065/0.4381, allocations: 93.56 kB / 444.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.4381, allocations: 54.47 kB / 444.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4383, allocations: 135.9 kB / 444.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4383, allocations: 25.7 kB / 444.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.4384, allocations: 125.9 kB / 444.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.4384, allocations: 23.03 kB / 444.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.4384, allocations: 4 kB / 444.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4385, allocations: 320.8 kB / 445 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.431e-05/0.4386, allocations: 18 kB / 445 MB, free: 13.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-05/0.4386, allocations: 36.83 kB / 445 MB, free: 13.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.4387, allocations: 21.55 kB / 445 MB, free: 13.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4387, allocations: 0 / 445 MB, free: 13.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002259/0.4389, allocations: 118.8 kB / 445.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4389, allocations: 4 kB / 445.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.439, allocations: 11.92 kB / 445.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.4392, allocations: 35.41 kB / 445.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.4392, allocations: 8 kB / 445.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.4404, allocations: 1.446 MB / 446.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.4405, allocations: 4 kB / 446.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.4405, allocations: 4.062 kB / 446.7 MB, free: 12.25 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 8.262e-05/0.4406, allocations: 113.8 kB / 446.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002066/0.4408, allocations: 107.7 kB / 446.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.4409, allocations: 7.906 kB / 446.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.4409, allocations: 20.2 kB / 446.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4409, allocations: 0 / 446.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.4409, allocations: 0 / 446.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4409, allocations: 4 kB / 446.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.4411, allocations: 176.2 kB / 447.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4411, allocations: 0 / 447.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.4411, allocations: 4 kB / 447.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.4413, allocations: 34.09 kB / 447.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.4413, allocations: 3.984 kB / 447.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.4423, allocations: 1.453 MB / 448.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4424, allocations: 80 / 448.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.4426, allocations: 205.8 kB / 448.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.4426, allocations: 85 kB / 448.9 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.4427, allocations: 0 / 448.9 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.4428, allocations: 8 kB / 448.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4428, allocations: 7.984 kB / 448.9 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4428, allocations: 0 / 448.9 MB, free: 9.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.508e-05/0.4429, allocations: 111.8 kB / 449 MB, free: 9.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4429, allocations: 0 / 449 MB, free: 9.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.4433, allocations: 35.91 kB / 449 MB, free: 9.855 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.0004835/0.4437, allocations: 0.7305 MB / 449.8 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.444, allocations: 163.6 kB / 449.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.444, allocations: 0 / 449.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.4442, allocations: 147.7 kB / 450.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.4444, allocations: 19.95 kB / 450.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.4449, allocations: 181.9 kB / 450.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4452, allocations: 0.7158 MB / 451 MB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.4452, allocations: 4.438 kB / 451 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.4453, allocations: 32.8 kB / 451 MB, free: 7.836 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4453, allocations: 0 / 451 MB, free: 7.836 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.4678, allocations: 2.114 MB / 453.1 MB, free: 5.727 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.4682, allocations: 140.8 kB / 453.3 MB, free: 5.535 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.019, allocations: 3.938 kB / 453.3 MB, free: 5.531 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