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.0009815/0.0009814, allocations: 95.47 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.001126/0.001126, allocations: 184.3 kB / 17.83 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.508/1.508, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005457/0.0005458, allocations: 16 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1294, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003969/0.1334, allocations: 2.925 MB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1352, allocations: 0.9363 MB / 332.3 MB, free: 124 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.1354, allocations: 11.88 kB / 332.3 MB, free: 112 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1356, allocations: 75.5 kB / 332.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.1361, allocations: 211.4 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1363, allocations: 91.83 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.137, allocations: 479.4 kB / 333.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.1373, allocations: 158.3 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1375, allocations: 215.2 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.1378, allocations: 242.9 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.1379, allocations: 36 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.138, allocations: 36 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.097e-05/0.1381, allocations: 87.66 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1382, allocations: 133.4 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004475/0.1386, allocations: 494.6 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1387, allocations: 0 / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1387, allocations: 0 / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1387, allocations: 4 kB / 334.5 MB, free: 13.88 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.001404/0.1401, allocations: 0.8038 MB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1401, allocations: 8.031 kB / 335.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.1403, allocations: 79.09 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1404, allocations: 67.25 kB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.1411, allocations: 405.5 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.1414, allocations: 86.31 kB / 335.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.1415, allocations: 39.91 kB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.1424, allocations: 0.497 MB / 336.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1424, allocations: 4 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.1425, allocations: 12 kB / 336.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1425, allocations: 11.94 kB / 336.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.1434, allocations: 390.4 kB / 336.9 MB, free: 11.33 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.002116/0.1455, allocations: 1.275 MB / 338.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/0.1463, allocations: 407.3 kB / 338.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.1464, allocations: 8 kB / 338.6 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1464, allocations: 38.5 kB / 338.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.1464, allocations: 4 kB / 338.6 MB, free: 9.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001745/0.1482, allocations: 0.7978 MB / 339.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000243/0.1484, allocations: 441 kB / 339.8 MB, free: 8.098 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.1489, allocations: 425.9 kB / 340.2 MB, free: 7.672 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.149, allocations: 37.7 kB / 340.3 MB, free: 7.629 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1492, allocations: 244.5 kB / 340.5 MB, free: 7.387 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.1493, allocations: 118.2 kB / 340.6 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.1493, allocations: 8 kB / 340.6 MB, free: 7.262 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.1495, allocations: 362.7 kB / 341 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.15, allocations: 167.7 kB / 341.2 MB, free: 6.734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.1505, allocations: 302.5 kB / 341.5 MB, free: 6.383 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/0.1509, allocations: 211.2 kB / 341.7 MB, free: 6.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1509, allocations: 4 kB / 341.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001063/0.152, allocations: 0.5061 MB / 342.2 MB, free: 5.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.1521, allocations: 37.7 kB / 342.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1521, allocations: 0 / 342.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.1523, allocations: 53.62 kB / 342.3 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/0.1527, allocations: 87.94 kB / 342.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.1552, allocations: 2.768 MB / 345.1 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.1558, allocations: 71.59 kB / 345.2 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.1558, allocations: 12 kB / 345.2 MB, free: 2.34 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.0002419/0.1561, allocations: 169.8 kB / 345.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.1562, allocations: 47.44 kB / 345.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1563, allocations: 57.06 kB / 345.5 MB, free: 2.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1563, allocations: 4 kB / 345.5 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1563, allocations: 4 kB / 345.5 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.1574, allocations: 0.7827 MB / 346.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.1592, allocations: 1.04 MB / 347.3 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1592, allocations: 4 kB / 347.3 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.1597, allocations: 99.88 kB / 347.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.1597, allocations: 7.984 kB / 347.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1598, allocations: 7.953 kB / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1598, allocations: 4 kB / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1598, allocations: 0 / 347.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.1612, allocations: 0.7061 MB / 348.1 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.1614, allocations: 168.4 kB / 348.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.1615, allocations: 8 kB / 348.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.1619, allocations: 39.92 kB / 348.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.162, allocations: 27.95 kB / 348.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.162, allocations: 12.06 kB / 348.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.1624, allocations: 295.1 kB / 348.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1624, allocations: 4 kB / 348.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.1629, allocations: 131.8 kB / 348.8 MB, free: 14.54 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.001816/0.1647, allocations: 1.278 MB / 350.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.1661, allocations: 0.6723 MB / 350.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1661, allocations: 0 / 350.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.1666, allocations: 207.7 kB / 350.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.1672, allocations: 128.9 kB / 351.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1695, allocations: 1.635 MB / 352.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.1699, allocations: 0.8427 MB / 353.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.1702, allocations: 55.38 kB / 353.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.1704, allocations: 167.4 kB / 353.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1704, allocations: 0 / 353.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.197, allocations: 11.56 MB / 365.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.1972, allocations: 216.2 kB / 365.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.328, allocations: 4 kB / 365.5 MB, free: 13.59 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