Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008635/0.0008635, allocations: 98.39 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002093/0.0002094, allocations: 8 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2038, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09052/0.2944, allocations: 77.3 MB / 486.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.2946, allocations: 75.94 kB / 486.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004436/0.299, allocations: 1.844 MB / 488.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2991, allocations: 0 / 488.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.2991, allocations: 4 kB / 488.7 MB, free: 11.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000358/0.2995, allocations: 375.1 kB / 489.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2995, allocations: 12.02 kB / 489.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.2995, allocations: 42.56 kB / 489.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.2996, allocations: 7.906 kB / 489.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2997, allocations: 171 kB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2998, allocations: 11.95 kB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2998, allocations: 8 kB / 489.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3, allocations: 91.78 kB / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3, allocations: 0 / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3, allocations: 0 / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3, allocations: 0 / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3001, allocations: 59.91 kB / 489.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.3007, allocations: 408.5 kB / 489.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3008, allocations: 70.56 kB / 489.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3008, allocations: 7.984 kB / 490 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3009, allocations: 30.56 kB / 490 MB, free: 9.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3009, allocations: 0 / 490 MB, free: 9.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001868/0.3011, allocations: 89.61 kB / 490.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3011, allocations: 51.41 kB / 490.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.3012, allocations: 101 kB / 490.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3012, allocations: 25.7 kB / 490.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.3012, allocations: 103.9 kB / 490.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3013, allocations: 39.69 kB / 490.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.3013, allocations: 4 kB / 490.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.3014, allocations: 314.8 kB / 490.7 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.3014, allocations: 23.98 kB / 490.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.3015, allocations: 50.56 kB / 490.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.3015, allocations: 23.94 kB / 490.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3015, allocations: 0 / 490.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001423/0.3017, allocations: 113.5 kB / 490.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3017, allocations: 4 kB / 490.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3017, allocations: 4 kB / 490.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3017, allocations: 0 / 490.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3019, allocations: 23.98 kB / 490.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3019, allocations: 0 / 490.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.3019, allocations: 8 kB / 490.9 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.302, allocations: 7.984 kB / 490.9 MB, free: 8.93 MB / 362.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 (13): * Single equations (assignments): 13 * 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 7.375e-05/0.302, allocations: 125.8 kB / 491.1 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3021, allocations: 7.906 kB / 491.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.3021, allocations: 8.375 kB / 491.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3021, allocations: 0 / 491.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3021, allocations: 0 / 491.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3021, allocations: 4 kB / 491.1 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3023, allocations: 193.5 kB / 491.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3023, allocations: 0 / 491.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.3024, allocations: 19.98 kB / 491.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.3024, allocations: 4 kB / 491.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3025, allocations: 0 / 491.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3025, allocations: 0 / 491.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3025, allocations: 3.938 kB / 491.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.3027, allocations: 207.6 kB / 491.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3027, allocations: 85.05 kB / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3027, allocations: 0 / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.3028, allocations: 4 kB / 491.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.3028, allocations: 4.062 kB / 491.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3028, allocations: 7.984 kB / 491.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.304e-05/0.3029, allocations: 83.28 kB / 491.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3029, allocations: 0 / 491.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.3031, allocations: 24 kB / 491.7 MB, free: 8.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * 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 (8): * Single equations (assignments): 8 * 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.000383/0.3035, allocations: 0.7279 MB / 492.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.3036, allocations: 51.98 kB / 492.5 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3036, allocations: 0 / 492.5 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.3037, allocations: 31.92 kB / 492.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3038, allocations: 0 / 492.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.3047, allocations: 0.9071 MB / 493.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3049, allocations: 0.6926 MB / 494.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.786e-05/0.305, allocations: 7.984 kB / 494.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.305, allocations: 19.44 kB / 494.2 MB, free: 5.523 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.305, allocations: 0 / 494.2 MB, free: 5.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.3169, allocations: 1.522 MB / 495.7 MB, free: 4.133 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.3172, allocations: 170.5 kB / 495.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/1.698, allocations: 0 / 495.8 MB, free: 3.898 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_TwoMasses.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat