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.0008687/0.0008689, allocations: 92.03 kB / 16.95 MB, free: 6.441 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.0007999/0.0008, allocations: 181.2 kB / 17.84 MB, free: 6.008 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.547/1.547, allocations: 205.4 MB / 224 MB, free: 13.06 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.0004769/0.000477, allocations: 12 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1004, allocations: 47.58 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003037/0.1035, allocations: 2.576 MB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1053, allocations: 0.9294 MB / 332 MB, free: 460 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.1058, allocations: 19.88 kB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1061, allocations: 63.44 kB / 332 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1064, allocations: 87.19 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.107, allocations: 143.8 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.1077, allocations: 486.2 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.1081, allocations: 170 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.1084, allocations: 127.4 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1087, allocations: 143.1 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.1087, allocations: 12 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1089, allocations: 27.98 kB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.109, allocations: 63.64 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1091, allocations: 105.5 kB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1095, allocations: 407.2 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1095, allocations: 0 / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1095, allocations: 4 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1095, allocations: 0 / 333.8 MB, free: 14.61 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.0009556/0.1105, allocations: 0.6547 MB / 334.4 MB, free: 13.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.1106, allocations: 12.03 kB / 334.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.1107, allocations: 74.53 kB / 334.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1108, allocations: 59.25 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.1113, allocations: 398.6 kB / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.1113, allocations: 32.95 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.1114, allocations: 36 kB / 335 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.1121, allocations: 491.3 kB / 335.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.1122, allocations: 3.938 kB / 335.5 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.1122, allocations: 20 kB / 335.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1122, allocations: 8 kB / 335.5 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.1127, allocations: 250.2 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.1148, allocations: 2.838 MB / 338.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.1153, allocations: 158.1 kB / 338.8 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1154, allocations: 76.83 kB / 338.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.1156, allocations: 84.94 kB / 338.9 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1157, allocations: 50.48 kB / 339 MB, free: 9.043 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1157, allocations: 0 / 339 MB, free: 9.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001218/0.1169, allocations: 0.6184 MB / 339.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1169, allocations: 59.41 kB / 339.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1173, allocations: 341.5 kB / 340 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1173, allocations: 29.7 kB / 340 MB, free: 7.918 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1175, allocations: 299 kB / 340.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.1176, allocations: 67.09 kB / 340.4 MB, free: 7.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.1176, allocations: 8 kB / 340.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1177, allocations: 350.8 kB / 340.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1179, allocations: 71.7 kB / 340.8 MB, free: 7.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1181, allocations: 223.8 kB / 341 MB, free: 6.836 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.0006041/0.1187, allocations: 273.6 kB / 341.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1187, allocations: 0 / 341.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005839/0.1193, allocations: 362.1 kB / 341.6 MB, free: 6.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1194, allocations: 12 kB / 341.7 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1194, allocations: 4 kB / 341.7 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.1195, allocations: 36.84 kB / 341.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1198, allocations: 79.78 kB / 341.8 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.1209, allocations: 1.471 MB / 343.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1211, allocations: 20 kB / 343.3 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1212, allocations: 15.94 kB / 343.3 MB, free: 4.41 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.0002086/0.1214, allocations: 178.1 kB / 343.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1214, allocations: 39.48 kB / 343.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.1215, allocations: 31.59 kB / 343.5 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1215, allocations: 4 kB / 343.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1215, allocations: 0 / 343.5 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1215, allocations: 3.984 kB / 343.5 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/0.1225, allocations: 0.7179 MB / 344.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1225, allocations: 0 / 344.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.1227, allocations: 31.98 kB / 344.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.1228, allocations: 24.84 kB / 344.3 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1228, allocations: 8 kB / 344.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008647/0.1237, allocations: 1.324 MB / 345.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1237, allocations: 0 / 345.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.1242, allocations: 380.7 kB / 346 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.1243, allocations: 100.7 kB / 346.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.1243, allocations: 11.95 kB / 346.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1244, allocations: 12.03 kB / 346.1 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.1245, allocations: 19.98 kB / 346.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1245, allocations: 4 kB / 346.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1247, allocations: 231.2 kB / 346.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1247, allocations: 0 / 346.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.1252, allocations: 68 kB / 346.4 MB, free: 0.9805 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.0007995/0.126, allocations: 0.9132 MB / 347.4 MB, free: 36 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005599/0.1265, allocations: 311 kB / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1266, allocations: 0 / 347.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1268, allocations: 186.5 kB / 347.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1271, allocations: 42.36 kB / 347.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.1306, allocations: 2.261 MB / 350.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.131, allocations: 0.8107 MB / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.1312, allocations: 39.27 kB / 351 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.1314, allocations: 163.3 kB / 351.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1314, allocations: 0 / 351.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.1529, allocations: 6.085 MB / 357.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1531, allocations: 218.6 kB / 357.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.515, allocations: 0 / 357.4 MB, free: 5.742 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