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.001535/0.001535, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.402/1.402, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009281/0.0009279, allocations: 92.05 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.000264, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2674, allocations: 47.57 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09857/0.366, allocations: 77.24 MB / 453.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.3663, allocations: 71.97 kB / 453.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007295/0.3736, allocations: 2.757 MB / 456 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3736, allocations: 0 / 456 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3736, allocations: 4 kB / 456 MB, free: 0.5703 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.0004775/0.3741, allocations: 425.4 kB / 456.4 MB, free: 108 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3742, allocations: 12.03 kB / 456.4 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.3742, allocations: 46.55 kB / 456.4 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.3743, allocations: 15.81 kB / 456.5 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3745, allocations: 198.8 kB / 456.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3746, allocations: 12.19 kB / 456.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3746, allocations: 12 kB / 456.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3748, allocations: 119.5 kB / 456.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3749, allocations: 0 / 456.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3749, allocations: 4 kB / 456.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3749, allocations: 8 kB / 456.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.3751, allocations: 76.67 kB / 456.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.3759, allocations: 0.6145 MB / 457.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3762, allocations: 82.62 kB / 457.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3762, allocations: 3.984 kB / 457.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3762, allocations: 42.62 kB / 457.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3762, allocations: 0 / 457.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006656/0.3769, allocations: 259.6 kB / 457.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.377, allocations: 55.36 kB / 457.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3771, allocations: 134.8 kB / 458.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3771, allocations: 25.7 kB / 458.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.3772, allocations: 135.8 kB / 458.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.3772, allocations: 15.75 kB / 458.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.3772, allocations: 4 kB / 458.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.3773, allocations: 326.8 kB / 458.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.3774, allocations: 19.98 kB / 458.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.3774, allocations: 42.56 kB / 458.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.849e-05/0.3775, allocations: 28 kB / 458.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3775, allocations: 4 kB / 458.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002721/0.3778, allocations: 146.3 kB / 458.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3778, allocations: 4.188 kB / 458.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3778, allocations: 8 kB / 458.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.378, allocations: 40.77 kB / 458.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.3781, allocations: 12.06 kB / 458.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.3795, allocations: 1.515 MB / 460.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.3796, allocations: 11.94 kB / 460.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3796, allocations: 7.953 kB / 460.4 MB, free: 11.73 MB / 346.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 () * Number of clocked 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.994e-05/0.3797, allocations: 121.8 kB / 460.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3797, allocations: 7.969 kB / 460.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.3797, allocations: 16.72 kB / 460.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3797, allocations: 0 / 460.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.3798, allocations: 0 / 460.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3798, allocations: 0 / 460.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.38, allocations: 213.6 kB / 460.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.38, allocations: 128 / 460.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.38, allocations: 11.98 kB / 460.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.3802, allocations: 32.84 kB / 460.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.3802, allocations: 4 kB / 460.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.3813, allocations: 1.518 MB / 462.3 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3813, allocations: 3.953 kB / 462.3 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.3816, allocations: 212.2 kB / 462.5 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3817, allocations: 92.95 kB / 462.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.3817, allocations: 0 / 462.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.3818, allocations: 12.06 kB / 462.6 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3818, allocations: 8.172 kB / 462.6 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3818, allocations: 8 kB / 462.6 MB, free: 9.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.11e-05/0.3819, allocations: 114 kB / 462.8 MB, free: 9.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3819, allocations: 7.875 kB / 462.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.3823, allocations: 39.84 kB / 462.8 MB, free: 9.094 MB / 346.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 (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.0005443/0.3828, allocations: 0.7483 MB / 463.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003621/0.3832, allocations: 195.3 kB / 463.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3832, allocations: 0 / 463.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3834, allocations: 154.6 kB / 463.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.3836, allocations: 17.58 kB / 463.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3849, allocations: 1.109 MB / 465 MB, free: 6.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3851, allocations: 0.7121 MB / 465.7 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.3851, allocations: 8.422 kB / 465.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.3852, allocations: 39.42 kB / 465.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3852, allocations: 0 / 465.8 MB, free: 5.973 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.4004, allocations: 2.584 MB / 468.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.4007, allocations: 210.8 kB / 468.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.99, allocations: 0 / 468.6 MB, free: 3.184 MB / 346.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