Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001035/0.001035, allocations: 102.4 kB / 16.94 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.001073/0.001073, allocations: 184.2 kB / 17.83 MB, free: 6.004 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.551/1.551, 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.0004625/0.0004626, allocations: 15.28 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003194/0.1042, allocations: 2.767 MB / 331.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1056, allocations: 0.9132 MB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.1058, allocations: 4 kB / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.106, allocations: 75.44 kB / 332.2 MB, free: 232 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.1063, allocations: 195.5 kB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1066, allocations: 95.83 kB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.1071, allocations: 439.5 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1074, allocations: 162.3 kB / 333 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1076, allocations: 195.3 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1078, allocations: 231 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.1079, allocations: 32 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.108, allocations: 39.94 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.1081, allocations: 87.66 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1082, allocations: 129.4 kB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.1086, allocations: 450.7 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1086, allocations: 7.938 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1086, allocations: 0 / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.1086, allocations: 0 / 334.2 MB, free: 14.2 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00122/0.1099, allocations: 0.7493 MB / 334.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1099, allocations: 8.031 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.11, allocations: 79.53 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.1101, allocations: 63.25 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.1106, allocations: 362 kB / 335.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.85e-05/0.1108, allocations: 58.7 kB / 335.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.1108, allocations: 36 kB / 335.5 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.1116, allocations: 462.1 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1116, allocations: 8 kB / 336 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.1116, allocations: 12 kB / 336 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1116, allocations: 12 kB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.1122, allocations: 291.8 kB / 336.3 MB, free: 11.92 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 preOpt removeSimpleEquations (simulation): time 0.001966/0.1142, allocations: 1.285 MB / 337.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1153, allocations: 440.4 kB / 338 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1154, allocations: 11.98 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1154, allocations: 42.55 kB / 338.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.1154, allocations: 0 / 338.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001122/0.1166, allocations: 0.6107 MB / 338.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.1168, allocations: 448.9 kB / 339.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.1173, allocations: 418 kB / 339.5 MB, free: 8.395 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.1173, allocations: 33.7 kB / 339.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.1175, allocations: 240.3 kB / 339.8 MB, free: 8.117 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.1176, allocations: 110.4 kB / 339.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.1176, allocations: 8 kB / 339.9 MB, free: 8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1178, allocations: 354.8 kB / 340.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.118, allocations: 108.6 kB / 340.4 MB, free: 7.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.1184, allocations: 260 kB / 340.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.1187, allocations: 159.2 kB / 340.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1187, allocations: 0 / 340.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007289/0.1194, allocations: 428.9 kB / 341.2 MB, free: 6.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.1195, allocations: 41.66 kB / 341.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1195, allocations: 0 / 341.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.1197, allocations: 49.78 kB / 341.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.12, allocations: 75.88 kB / 341.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.1224, allocations: 2.76 MB / 344.1 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.1229, allocations: 55.7 kB / 344.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1229, allocations: 12 kB / 344.2 MB, free: 3.363 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.1231, allocations: 161.8 kB / 344.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.1232, allocations: 55.39 kB / 344.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.171e-05/0.1233, allocations: 52.69 kB / 344.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1233, allocations: 0 / 344.4 MB, free: 3.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1233, allocations: 4 kB / 344.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006814/0.124, allocations: 0.6619 MB / 345.1 MB, free: 2.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.1254, allocations: 0.8838 MB / 346 MB, free: 1.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1254, allocations: 7.938 kB / 346 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.1257, allocations: 67.95 kB / 346.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1257, allocations: 0 / 346.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.1258, allocations: 8 kB / 346.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1258, allocations: 0 / 346.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1258, allocations: 0 / 346.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.1266, allocations: 0.5305 MB / 346.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1268, allocations: 160.4 kB / 346.8 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.1269, allocations: 16.06 kB / 346.8 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.1272, allocations: 15.98 kB / 346.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1273, allocations: 19.97 kB / 346.8 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1273, allocations: 8 kB / 346.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.1276, allocations: 295.1 kB / 347.1 MB, free: 232 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1276, allocations: 0 / 347.1 MB, free: 232 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004591/0.1281, allocations: 131.8 kB / 347.2 MB, free: 100 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.1293, allocations: 1.076 MB / 348.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.1302, allocations: 0.575 MB / 348.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1302, allocations: 4 kB / 348.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.1305, allocations: 128 kB / 349 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.131, allocations: 121.8 kB / 349.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.133, allocations: 1.552 MB / 350.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.1334, allocations: 0.8314 MB / 351.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.1337, allocations: 55.28 kB / 351.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.1339, allocations: 159.4 kB / 351.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1339, allocations: 0 / 351.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.1596, allocations: 10.85 MB / 362.6 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.1598, allocations: 226.9 kB / 362.8 MB, free: 360 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.1, allocations: 0 / 362.8 MB, free: 360 kB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat