Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 102 kB / 17.16 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 43.94 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08856, allocations: 46.62 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003733/0.09232, allocations: 3.092 MB / 329.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.09379, allocations: 0.9758 MB / 330.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.09397, allocations: 15.88 kB / 330.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.09423, allocations: 67.44 kB / 330.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.09438, allocations: 83.25 kB / 330.9 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.09482, allocations: 183.8 kB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.0953, allocations: 0.5136 MB / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.09561, allocations: 198.2 kB / 331.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.0958, allocations: 163.2 kB / 332 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.09597, allocations: 167 kB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.09602, allocations: 20 kB / 332.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.09613, allocations: 35.94 kB / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.0962, allocations: 79.62 kB / 332.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.09635, allocations: 210.7 kB / 332.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.09675, allocations: 0.5062 MB / 333 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09676, allocations: 4 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09677, allocations: 0 / 333 MB, free: 14.45 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.09678, allocations: 3.938 kB / 333 MB, free: 14.45 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008432/0.09763, allocations: 0.7404 MB / 333.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.09767, allocations: 12.03 kB / 333.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.09775, allocations: 82.7 kB / 333.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.09783, allocations: 59.84 kB / 333.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.09827, allocations: 398.4 kB / 334.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.0983, allocations: 33 kB / 334.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.09836, allocations: 40 kB / 334.3 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.09903, allocations: 495.2 kB / 334.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.09906, allocations: 8 kB / 334.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.09909, allocations: 16 kB / 334.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.09911, allocations: 12 kB / 334.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.09955, allocations: 246.1 kB / 335.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.1015, allocations: 2.827 MB / 337.9 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.1019, allocations: 170.7 kB / 338.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.102, allocations: 64.83 kB / 338.1 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.1022, allocations: 85.11 kB / 338.2 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1022, allocations: 38.5 kB / 338.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1022, allocations: 0 / 338.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001127/0.1034, allocations: 0.6273 MB / 338.9 MB, free: 8.109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.1034, allocations: 51.41 kB / 338.9 MB, free: 8.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1037, allocations: 345.5 kB / 339.3 MB, free: 7.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1037, allocations: 29.7 kB / 339.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1039, allocations: 303 kB / 339.6 MB, free: 7.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.104, allocations: 63.09 kB / 339.7 MB, free: 7.301 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.1041, allocations: 69.56 kB / 339.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1042, allocations: 354.7 kB / 340.1 MB, free: 6.871 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1043, allocations: 67.75 kB / 340.2 MB, free: 6.805 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.1045, allocations: 227.5 kB / 340.4 MB, free: 6.512 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.1054, allocations: 0.5081 MB / 340.9 MB, free: 5.914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1054, allocations: 0 / 340.9 MB, free: 5.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005208/0.1059, allocations: 362 kB / 341.2 MB, free: 5.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1059, allocations: 15.06 kB / 341.2 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.106, allocations: 4 kB / 341.3 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.1061, allocations: 32.84 kB / 341.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1063, allocations: 83.77 kB / 341.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1074, allocations: 1.467 MB / 342.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.1076, allocations: 27.98 kB / 342.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1076, allocations: 15.98 kB / 342.9 MB, free: 3.77 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.1078, allocations: 177.7 kB / 343.1 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.1079, allocations: 35.53 kB / 343.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.1079, allocations: 47.52 kB / 343.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1079, allocations: 0 / 343.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1079, allocations: 0 / 343.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.108, allocations: 0 / 343.1 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.1088, allocations: 0.717 MB / 343.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1089, allocations: 0 / 343.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.109, allocations: 31.92 kB / 343.9 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/0.1091, allocations: 28.84 kB / 343.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1091, allocations: 8 kB / 343.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008503/0.11, allocations: 1.327 MB / 345.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.11, allocations: 4.031 kB / 345.2 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.1105, allocations: 360.6 kB / 345.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1105, allocations: 104.7 kB / 345.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.1106, allocations: 8 kB / 345.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.1107, allocations: 15.94 kB / 345.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1108, allocations: 11.98 kB / 345.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.1108, allocations: 0 / 345.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.111, allocations: 239.2 kB / 346 MB, free: 428 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.111, allocations: 0 / 346 MB, free: 428 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.1114, allocations: 72 kB / 346 MB, free: 356 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007159/0.1121, allocations: 0.8972 MB / 346.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004952/0.1126, allocations: 311.6 kB / 347.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1126, allocations: 0 / 347.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.1129, allocations: 178.6 kB / 347.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1132, allocations: 49.55 kB / 347.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.1172, allocations: 3.521 MB / 351 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1175, allocations: 0.8146 MB / 351.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1176, allocations: 43.25 kB / 351.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.1178, allocations: 159.4 kB / 352 MB, free: 10.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1178, allocations: 0 / 352 MB, free: 10.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.1348, allocations: 5.84 MB / 357.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/0.1351, allocations: 227.2 kB / 358.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/1.967, allocations: 0 / 358.1 MB, free: 3.953 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat