Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009208/0.0009209, allocations: 87.38 kB / 16.31 MB, free: 5.676 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.001044/0.001045, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.58/1.58, allocations: 205.4 MB / 223.4 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.0004308/0.0004309, allocations: 11.98 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09541, allocations: 47.59 MB / 327.7 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003362/0.09881, allocations: 3.157 MB / 330.9 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1001, allocations: 0.9164 MB / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1003, allocations: 4 kB / 331.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.1006, allocations: 71.45 kB / 331.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1009, allocations: 174.6 kB / 332 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1011, allocations: 87.91 kB / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.1017, allocations: 0.6028 MB / 332.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1019, allocations: 158 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1021, allocations: 227.1 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.1025, allocations: 258.9 kB / 333.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.1026, allocations: 36 kB / 333.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-05/0.1027, allocations: 36 kB / 333.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1028, allocations: 103.6 kB / 333.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1029, allocations: 137.4 kB / 333.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.1033, allocations: 0.4988 MB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1033, allocations: 4 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1033, allocations: 0 / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1033, allocations: 0 / 334.2 MB, free: 13.59 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.00124/0.1046, allocations: 0.8116 MB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1046, allocations: 12.03 kB / 335 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.1047, allocations: 67.25 kB / 335.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.1054, allocations: 425.5 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.1056, allocations: 82.33 kB / 335.6 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.1057, allocations: 36 kB / 335.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.1065, allocations: 0.5008 MB / 336.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1065, allocations: 3.938 kB / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.1065, allocations: 16 kB / 336.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1065, allocations: 8 kB / 336.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.1074, allocations: 382.4 kB / 336.5 MB, free: 11.11 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.001891/0.1093, allocations: 1.29 MB / 337.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.11, allocations: 411.4 kB / 338.2 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.1105, allocations: 200.8 kB / 338.4 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1105, allocations: 11.94 kB / 338.4 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1105, allocations: 42.56 kB / 338.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.1105, allocations: 0 / 338.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001614/0.1122, allocations: 0.7862 MB / 339.2 MB, free: 8.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.1124, allocations: 452.9 kB / 339.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.1129, allocations: 446 kB / 340.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1129, allocations: 41.64 kB / 340.1 MB, free: 7.156 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1131, allocations: 244.4 kB / 340.4 MB, free: 6.914 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/0.1132, allocations: 122.2 kB / 340.5 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.1132, allocations: 4 kB / 340.5 MB, free: 6.789 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1134, allocations: 362.7 kB / 340.9 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.1138, allocations: 163.8 kB / 341 MB, free: 6.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.1143, allocations: 302.6 kB / 341.3 MB, free: 5.914 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.1147, allocations: 211.1 kB / 341.5 MB, free: 5.703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1148, allocations: 0 / 341.5 MB, free: 5.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00103/0.1158, allocations: 0.5177 MB / 342 MB, free: 5.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.1158, allocations: 37.69 kB / 342.1 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1159, allocations: 4 kB / 342.1 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.116, allocations: 41.7 kB / 342.1 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.1164, allocations: 99.88 kB / 342.2 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.1186, allocations: 2.748 MB / 345 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.1191, allocations: 67.66 kB / 345 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.1191, allocations: 12.08 kB / 345 MB, free: 1.883 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.000207/0.1193, allocations: 169.8 kB / 345.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.1194, allocations: 55.42 kB / 345.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1195, allocations: 56.75 kB / 345.3 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1195, allocations: 4 kB / 345.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1195, allocations: 0 / 345.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009675/0.1205, allocations: 0.7674 MB / 346.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1221, allocations: 1.06 MB / 347.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1221, allocations: 0 / 347.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.1225, allocations: 99.86 kB / 347.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1225, allocations: 4 kB / 347.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1226, allocations: 4 kB / 347.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1226, allocations: 8.031 kB / 347.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1226, allocations: 7.984 kB / 347.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.1239, allocations: 0.7132 MB / 348 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.1241, allocations: 176.4 kB / 348.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.1241, allocations: 8 kB / 348.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.1245, allocations: 44.03 kB / 348.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.1246, allocations: 27.92 kB / 348.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1246, allocations: 7.984 kB / 348.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.125, allocations: 319.1 kB / 348.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.125, allocations: 0 / 348.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.1254, allocations: 139.8 kB / 348.7 MB, free: 14.03 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.0001299/0.1255, allocations: 107.2 kB / 348.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1268, allocations: 0.6804 MB / 349.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1268, allocations: 8.062 kB / 349.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.1272, allocations: 191.8 kB / 349.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.1279, allocations: 137.8 kB / 349.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1295, allocations: 1.121 MB / 350.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.1299, allocations: 0.8314 MB / 351.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.1302, allocations: 56.36 kB / 351.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1303, allocations: 39.44 kB / 351.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1303, allocations: 4 kB / 351.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Templates: time 0.01456/0.1449, allocations: 7.835 MB / 359.7 MB, free: 2.918 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)