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.001106/0.001106, allocations: 96.83 kB / 16.93 MB, free: 5.984 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.001255/0.001255, allocations: 178.3 kB / 17.82 MB, free: 5.652 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.602/1.602, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004507/0.000451, allocations: 8 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 47.58 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003088/0.1117, allocations: 2.496 MB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1132, allocations: 0.9607 MB / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1134, allocations: 7.938 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.208e-05/0.1135, allocations: 43.56 kB / 331.9 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1138, allocations: 119.6 kB / 332 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1141, allocations: 147.8 kB / 332.2 MB, free: 228 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.1146, allocations: 371.2 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.1149, allocations: 154 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1151, allocations: 131.3 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1153, allocations: 143.1 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1153, allocations: 15.94 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.1154, allocations: 24 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.1155, allocations: 55.7 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.964e-05/0.1156, allocations: 113.5 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.1159, allocations: 407.1 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1159, allocations: 0 / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1159, allocations: 0 / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1159, allocations: 0 / 333.6 MB, free: 14.82 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.0008754/0.1168, allocations: 0.647 MB / 334.2 MB, free: 14.12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1169, allocations: 16.03 kB / 334.2 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.117, allocations: 78.53 kB / 334.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.117, allocations: 63.23 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.1175, allocations: 382.7 kB / 334.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.1176, allocations: 36.95 kB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.1176, allocations: 36 kB / 334.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.1184, allocations: 491.2 kB / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1184, allocations: 7.984 kB / 335.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.1184, allocations: 16 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.1185, allocations: 12 kB / 335.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.1189, allocations: 246.2 kB / 335.6 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.1212, allocations: 2.838 MB / 338.4 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.1216, allocations: 166.7 kB / 338.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.1218, allocations: 93.06 kB / 338.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1218, allocations: 38.5 kB / 338.7 MB, free: 9.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1218, allocations: 0 / 338.7 MB, free: 9.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001281/0.1231, allocations: 0.6337 MB / 339.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1231, allocations: 55.41 kB / 339.4 MB, free: 8.578 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.1235, allocations: 341.5 kB / 339.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1235, allocations: 33.7 kB / 339.7 MB, free: 8.195 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.1237, allocations: 295 kB / 340 MB, free: 7.902 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.1238, allocations: 67.08 kB / 340.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.1238, allocations: 8 kB / 340.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.124, allocations: 350.8 kB / 340.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1241, allocations: 75.7 kB / 340.5 MB, free: 7.402 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.1243, allocations: 215.8 kB / 340.7 MB, free: 7.121 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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.125, allocations: 277.6 kB / 341 MB, free: 6.832 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.125, allocations: 0 / 341 MB, free: 6.832 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000562/0.1255, allocations: 362.1 kB / 341.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1256, allocations: 15.06 kB / 341.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1256, allocations: 7.984 kB / 341.4 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.1257, allocations: 36.84 kB / 341.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.126, allocations: 71.91 kB / 341.5 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.1272, allocations: 1.467 MB / 343 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1274, allocations: 27.98 kB / 343 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1274, allocations: 12 kB / 343 MB, free: 4.695 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 sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 (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.000202/0.1276, allocations: 182.3 kB / 343.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.1277, allocations: 39.48 kB / 343.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.252e-05/0.1277, allocations: 39.58 kB / 343.3 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1277, allocations: 8 kB / 343.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1277, allocations: 0 / 343.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1278, allocations: 0 / 343.3 MB, free: 4.422 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.1287, allocations: 0.7642 MB / 344 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1287, allocations: 0 / 344 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.1289, allocations: 35.92 kB / 344.1 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.16e-05/0.129, allocations: 24.84 kB / 344.1 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.129, allocations: 8 kB / 344.1 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009031/0.1299, allocations: 1.327 MB / 345.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1299, allocations: 0 / 345.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.1306, allocations: 394.3 kB / 345.8 MB, free: 1.625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.1307, allocations: 104.7 kB / 345.9 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1307, allocations: 4 kB / 345.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1308, allocations: 16.41 kB / 345.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.1309, allocations: 11.98 kB / 345.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.1309, allocations: 4 kB / 345.9 MB, free: 1.469 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1311, allocations: 231.2 kB / 346.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1311, allocations: 0 / 346.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000401/0.1316, allocations: 68 kB / 346.2 MB, free: 1.176 MB / 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007963/0.1324, allocations: 0.9869 MB / 347.2 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.1329, allocations: 314.3 kB / 347.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.133, allocations: 1.375 kB / 347.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.1332, allocations: 194.6 kB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1335, allocations: 37.44 kB / 347.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.1381, allocations: 5.565 MB / 353.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.1386, allocations: 0.8302 MB / 354.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.1387, allocations: 35.27 kB / 354.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.1389, allocations: 159.4 kB / 354.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1389, allocations: 0 / 354.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.1576, allocations: 6.07 MB / 360.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.1578, allocations: 209.4 kB / 360.6 MB, free: 2.523 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.051, allocations: 0 / 360.6 MB, free: 2.523 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/linux/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) Environment - environmentSimulation: 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