Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009134/0.0009134, allocations: 85.38 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.752e-05, allocations: 3.938 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.6164, allocations: 80.2 MB / 482.3 MB, free: 8.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.6168, allocations: 70.02 kB / 482.4 MB, free: 8.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009776/0.6266, allocations: 3.974 MB / 486.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6266, allocations: 0 / 486.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.6266, allocations: 12 kB / 486.4 MB, free: 5.508 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006751/0.6273, allocations: 496.4 kB / 486.9 MB, free: 5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.6274, allocations: 8.031 kB / 486.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.743e-05/0.6275, allocations: 57.61 kB / 486.9 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.6276, allocations: 27.72 kB / 487 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.6278, allocations: 229.8 kB / 487.2 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6279, allocations: 15.73 kB / 487.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.6279, allocations: 27.36 kB / 487.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.6282, allocations: 211.3 kB / 487.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.6283, allocations: 0 / 487.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.6283, allocations: 11.25 kB / 487.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6283, allocations: 4 kB / 487.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.6285, allocations: 133.3 kB / 487.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.6296, allocations: 0.8212 MB / 488.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.6299, allocations: 147.5 kB / 488.5 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.63, allocations: 63.17 kB / 488.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.63, allocations: 4 kB / 488.6 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.63, allocations: 46.14 kB / 488.6 MB, free: 3.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.63, allocations: 0 / 488.6 MB, free: 3.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003729/0.6304, allocations: 154.6 kB / 488.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.6305, allocations: 55.41 kB / 488.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.6306, allocations: 158.2 kB / 489 MB, free: 3.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.6306, allocations: 36.06 kB / 489 MB, free: 3.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.6307, allocations: 144 kB / 489.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.6307, allocations: 60.64 kB / 489.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6307, allocations: 1.031 kB / 489.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.6308, allocations: 325.9 kB / 489.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.6309, allocations: 39.44 kB / 489.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.631, allocations: 77.66 kB / 489.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.631, allocations: 45.97 kB / 489.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6311, allocations: 4 kB / 489.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002739/0.6313, allocations: 188.3 kB / 489.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.6314, allocations: 4 kB / 489.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6314, allocations: 0 / 489.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.6316, allocations: 31.09 kB / 489.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.6317, allocations: 45.62 kB / 490 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000876/0.6326, allocations: 1.356 MB / 491.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.6328, allocations: 43.09 kB / 491.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6328, allocations: 4 kB / 491.4 MB, free: 0.7266 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.857e-05/0.6329, allocations: 113.5 kB / 491.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.6329, allocations: 19.88 kB / 491.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.633, allocations: 26.2 kB / 491.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.633, allocations: 4 kB / 491.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.633, allocations: 0 / 491.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.633, allocations: 3.953 kB / 491.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.6335, allocations: 492.4 kB / 492 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6335, allocations: 7.891 kB / 492 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.6337, allocations: 31.05 kB / 492.1 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.279e-05/0.6338, allocations: 43.27 kB / 492.1 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.6338, allocations: 6.688 kB / 492.1 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.635, allocations: 1.359 MB / 493.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.635, allocations: 3.938 kB / 493.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.6355, allocations: 306.6 kB / 493.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6356, allocations: 104.1 kB / 493.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.6356, allocations: 0 / 493.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.6358, allocations: 35.41 kB / 493.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.6359, allocations: 24.03 kB / 493.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.6359, allocations: 0 / 493.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.636, allocations: 129 kB / 494.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6361, allocations: 1.781 kB / 494.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000317/0.6364, allocations: 65.91 kB / 494.1 MB, free: 14.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008124/0.6372, allocations: 0.8454 MB / 495 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.6376, allocations: 233.4 kB / 495.2 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6376, allocations: 4 kB / 495.2 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.6378, allocations: 181.3 kB / 495.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.6381, allocations: 28.42 kB / 495.4 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.6389, allocations: 353.1 kB / 495.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6392, allocations: 0.7371 MB / 496.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.094e-05/0.6393, allocations: 21.31 kB / 496.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.6394, allocations: 58.06 kB / 496.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6394, allocations: 0 / 496.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.657, allocations: 3.954 MB / 0.4888 GB, free: 7.992 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.6573, allocations: 183.5 kB / 0.489 GB, free: 7.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.404, allocations: 0 / 0.489 GB, free: 7.77 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat