Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001504/0.001508, allocations: 181.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.5 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.001158/0.001158, allocations: 86.88 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 11.98 kB / 327 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00305/0.3434, allocations: 1.979 MB / 376.6 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3449, allocations: 0.6276 MB / 377.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.3452, allocations: 3.562 kB / 377.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.467e-05/0.3452, allocations: 17.94 kB / 377.3 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.3455, allocations: 78.28 kB / 377.3 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3458, allocations: 50.81 kB / 377.4 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.3462, allocations: 189 kB / 377.6 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.3464, allocations: 71.36 kB / 377.6 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3466, allocations: 81.45 kB / 377.7 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3468, allocations: 91.95 kB / 377.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.3468, allocations: 14.22 kB / 377.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.347, allocations: 14.75 kB / 377.8 MB, free: 43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.347, allocations: 36.98 kB / 377.9 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.3471, allocations: 68.02 kB / 377.9 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.3474, allocations: 186.5 kB / 378.1 MB, free: 42.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3474, allocations: 0 / 378.1 MB, free: 42.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3474, allocations: 0 / 378.1 MB, free: 42.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3474, allocations: 0 / 378.1 MB, free: 42.78 MB / 298.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.001215/0.3486, allocations: 0.5215 MB / 378.6 MB, free: 42.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3487, allocations: 9.781 kB / 378.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.3488, allocations: 54.05 kB / 378.7 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.349, allocations: 33.14 kB / 378.7 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3493, allocations: 237.1 kB / 379 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3493, allocations: 13.47 kB / 379 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3494, allocations: 21.91 kB / 379 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.3501, allocations: 226.8 kB / 379.2 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3501, allocations: 4 kB / 379.2 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.3502, allocations: 11.53 kB / 379.2 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3502, allocations: 4.75 kB / 379.2 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.3508, allocations: 171 kB / 379.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3527, allocations: 0.8403 MB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.3533, allocations: 165.4 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.3534, allocations: 1.375 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3534, allocations: 35.98 kB / 380.5 MB, free: 40.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.136e-06/0.3534, allocations: 0 / 380.5 MB, free: 40.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001358/0.3548, allocations: 356.8 kB / 380.8 MB, free: 40.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3548, allocations: 53.72 kB / 380.9 MB, free: 40.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3551, allocations: 171.5 kB / 381 MB, free: 40.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3551, allocations: 31.36 kB / 381.1 MB, free: 40.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.3552, allocations: 214.4 kB / 381.3 MB, free: 40.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.3553, allocations: 54.98 kB / 381.3 MB, free: 40.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.3553, allocations: 3.938 kB / 381.3 MB, free: 40.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.3554, allocations: 321.5 kB / 381.6 MB, free: 39.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.3556, allocations: 61.06 kB / 381.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3559, allocations: 98.03 kB / 381.8 MB, free: 39.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.3562, allocations: 63.28 kB / 381.8 MB, free: 39.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3562, allocations: 0.9688 kB / 381.8 MB, free: 39.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007636/0.357, allocations: 218.8 kB / 382.1 MB, free: 39.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.357, allocations: 5.438 kB / 382.1 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.357, allocations: 1.656 kB / 382.1 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.3573, allocations: 35.86 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3576, allocations: 37.05 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.359, allocations: 1.378 MB / 383.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3594, allocations: 39.08 kB / 383.6 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3594, allocations: 13.84 kB / 383.6 MB, free: 38.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 0.0001665/0.3596, allocations: 135 kB / 383.7 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.3597, allocations: 15.09 kB / 383.7 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.3597, allocations: 25.86 kB / 383.7 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3597, allocations: 1.469 kB / 383.7 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3597, allocations: 1.344 kB / 383.7 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3598, allocations: 3.953 kB / 383.7 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3609, allocations: 0.5272 MB / 384.3 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.3609, allocations: 3.953 kB / 384.3 MB, free: 37.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.3612, allocations: 31.11 kB / 384.3 MB, free: 37.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.3614, allocations: 33.89 kB / 384.3 MB, free: 37.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3614, allocations: 5.625 kB / 384.3 MB, free: 37.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.3627, allocations: 1.369 MB / 385.7 MB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3628, allocations: 0 / 385.7 MB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3638, allocations: 373.9 kB / 386.1 MB, free: 35.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3639, allocations: 103.5 kB / 386.2 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.364, allocations: 5.094 kB / 386.2 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.3643, allocations: 29.34 kB / 386.2 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3645, allocations: 19.81 kB / 386.2 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3645, allocations: 3.156 kB / 386.2 MB, free: 35.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3647, allocations: 127.2 kB / 386.4 MB, free: 35.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3647, allocations: 0 / 386.4 MB, free: 35.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000537/0.3652, allocations: 65.56 kB / 386.4 MB, free: 35.54 MB / 298.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) * Number of clocked states: 0 () * 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.001418/0.3666, allocations: 0.8991 MB / 387.3 MB, free: 34.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008405/0.3675, allocations: 269.7 kB / 387.6 MB, free: 34.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3676, allocations: 0 / 387.6 MB, free: 34.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.368, allocations: 197.8 kB / 387.8 MB, free: 34.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3684, allocations: 33 kB / 387.8 MB, free: 34.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.3714, allocations: 1.87 MB / 389.7 MB, free: 32.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3716, allocations: 0.7416 MB / 390.4 MB, free: 32.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3718, allocations: 55.8 kB / 390.5 MB, free: 32.09 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3718, allocations: 0 / 390.5 MB, free: 32.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.802/3.174, allocations: 3.987 MB / 394.5 MB, free: 28.18 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat