Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.0007984/0.0007984, allocations: 92.81 kB / 16.95 MB, free: 6.113 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.0008708/0.0008707, allocations: 181.5 kB / 17.84 MB, free: 5.73 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.353/1.353, 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.0004712/0.0004713, allocations: 12 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1062, allocations: 47.57 MB / 328.4 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00385/0.1102, allocations: 3.161 MB / 331.6 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1119, allocations: 0.9087 MB / 332.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1121, allocations: 8 kB / 332.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1124, allocations: 71.39 kB / 332.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1127, allocations: 170.7 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.113, allocations: 95.89 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006082/0.1136, allocations: 0.5989 MB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.1139, allocations: 162.3 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.1142, allocations: 219.1 kB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.1145, allocations: 270.9 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.1146, allocations: 32 kB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.1147, allocations: 40 kB / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1148, allocations: 103.5 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1149, allocations: 133.4 kB / 334.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.1154, allocations: 0.5025 MB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1154, allocations: 0 / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1154, allocations: 0 / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1154, allocations: 0 / 334.9 MB, free: 13.48 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001396/0.1168, allocations: 0.8194 MB / 335.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1169, allocations: 8.031 kB / 335.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.117, allocations: 75.09 kB / 335.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1171, allocations: 67.25 kB / 335.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.1178, allocations: 425.5 kB / 336.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.118, allocations: 86.31 kB / 336.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.1181, allocations: 35.91 kB / 336.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.1189, allocations: 0.5048 MB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1189, allocations: 0 / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.119, allocations: 16 kB / 336.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.119, allocations: 11.98 kB / 336.9 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008695/0.1199, allocations: 386.4 kB / 337.3 MB, free: 10.9 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.001969/0.1218, allocations: 1.306 MB / 338.6 MB, free: 9.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.1226, allocations: 411.3 kB / 339 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.123, allocations: 204.8 kB / 339.2 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.1231, allocations: 7.938 kB / 339.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1231, allocations: 42.5 kB / 339.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.1231, allocations: 0 / 339.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001653/0.1248, allocations: 0.7861 MB / 340.1 MB, free: 7.973 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/0.125, allocations: 452.9 kB / 340.5 MB, free: 7.426 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.1255, allocations: 457.8 kB / 340.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.1256, allocations: 37.64 kB / 341 MB, free: 6.926 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1258, allocations: 244.5 kB / 341.2 MB, free: 6.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1259, allocations: 126.1 kB / 341.3 MB, free: 6.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.1259, allocations: 4 kB / 341.3 MB, free: 6.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1261, allocations: 358.8 kB / 341.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.1265, allocations: 163.7 kB / 341.9 MB, free: 6.035 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.127, allocations: 306.5 kB / 342.2 MB, free: 5.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.1274, allocations: 219.2 kB / 342.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1274, allocations: 0 / 342.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001005/0.1284, allocations: 0.5101 MB / 342.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.1285, allocations: 41.69 kB / 342.9 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1285, allocations: 0 / 342.9 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.1287, allocations: 49.64 kB / 343 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1291, allocations: 95.88 kB / 343.1 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.1315, allocations: 2.74 MB / 345.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.132, allocations: 75.59 kB / 345.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.132, allocations: 8 kB / 345.9 MB, free: 1.648 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 (37): * Single equations (assignments): 34 * 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.0002454/0.1323, allocations: 169.8 kB / 346 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.1324, allocations: 51.44 kB / 346.1 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1325, allocations: 56.75 kB / 346.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1325, allocations: 8 kB / 346.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1325, allocations: 3.953 kB / 346.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.1336, allocations: 0.7673 MB / 346.9 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.1352, allocations: 1.06 MB / 348 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1352, allocations: 4 kB / 348 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.1357, allocations: 95.94 kB / 348.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1357, allocations: 3.953 kB / 348.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1357, allocations: 11.94 kB / 348.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1357, allocations: 0 / 348.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1357, allocations: 0 / 348.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1371, allocations: 0.7172 MB / 348.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.1373, allocations: 172.4 kB / 349 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.1374, allocations: 15.95 kB / 349 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.1377, allocations: 35.97 kB / 349 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.1378, allocations: 27.89 kB / 349.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1379, allocations: 12.06 kB / 349.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006113/0.1385, allocations: 327.1 kB / 349.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1385, allocations: 0 / 349.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.139, allocations: 135.8 kB / 349.5 MB, free: 13.79 MB / 302.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 (35): * Single equations (assignments): 35 * 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.001811/0.1409, allocations: 1.278 MB / 350.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.142, allocations: 0.6762 MB / 351.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.142, allocations: 0 / 351.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.1425, allocations: 199.8 kB / 351.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.1432, allocations: 137.9 kB / 351.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.1482, allocations: 3.02 MB / 354.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1486, allocations: 0.835 MB / 355.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003015/0.149, allocations: 68.34 kB / 355.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.1492, allocations: 175.4 kB / 355.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1492, allocations: 0 / 355.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.1788, allocations: 12.23 MB / 368.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.1791, allocations: 213.3 kB / 368.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.496, allocations: 3.938 kB / 368.3 MB, free: 10.76 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat