Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.005027/0.005027, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001555/0.001555, allocations: 197.3 kB / 16.68 MB, free: 5.953 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.001181/0.001181, allocations: 46.44 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004528/0.117, allocations: 3.647 MB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.119, allocations: 1.017 MB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.1193, allocations: 4 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.1198, allocations: 119 kB / 377.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.1203, allocations: 198.3 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1207, allocations: 135.8 kB / 378.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.1214, allocations: 0.6885 MB / 379 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.1218, allocations: 198.2 kB / 379.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.1221, allocations: 259.1 kB / 379.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.1224, allocations: 286.8 kB / 379.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.1225, allocations: 64 kB / 379.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.1226, allocations: 56 kB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1227, allocations: 135.5 kB / 379.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.123, allocations: 302.6 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.1237, allocations: 0.6967 MB / 380.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.1237, allocations: 3.984 kB / 380.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1237, allocations: 0 / 380.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1238, allocations: 0 / 380.9 MB, free: 9.508 MB / 318.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.001605/0.1254, allocations: 0.8817 MB / 381.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1254, allocations: 8.031 kB / 381.8 MB, free: 8.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1255, allocations: 68.19 kB / 381.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.1263, allocations: 446.3 kB / 382.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-05/0.1264, allocations: 54.92 kB / 382.4 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.1264, allocations: 32.38 kB / 382.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/0.1273, allocations: 485 kB / 382.9 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1273, allocations: 4 kB / 382.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.1274, allocations: 16 kB / 382.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1274, allocations: 11.98 kB / 382.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008043/0.1282, allocations: 334.4 kB / 383.2 MB, free: 7.039 MB / 318.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.001968/0.1302, allocations: 1.294 MB / 384.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1309, allocations: 387.4 kB / 384.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00044/0.1314, allocations: 180.8 kB / 385.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.1314, allocations: 7.938 kB / 385.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.1315, allocations: 42.56 kB / 385.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/0.1315, allocations: 0 / 385.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001721/0.1332, allocations: 0.7159 MB / 385.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/0.1335, allocations: 448.9 kB / 386.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/0.134, allocations: 461.9 kB / 386.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.1341, allocations: 37.7 kB / 386.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1343, allocations: 236.5 kB / 387 MB, free: 2.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.1344, allocations: 122.2 kB / 387.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1346, allocations: 77.59 kB / 387.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1347, allocations: 366.7 kB / 387.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.1351, allocations: 135.9 kB / 387.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.1356, allocations: 286.5 kB / 388 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007422/0.1364, allocations: 329.2 kB / 388.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1364, allocations: 0 / 388.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009858/0.1374, allocations: 489.8 kB / 388.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.1374, allocations: 29.7 kB / 388.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1374, allocations: 0 / 388.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.1376, allocations: 57.72 kB / 388.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.138, allocations: 79.88 kB / 388.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.1407, allocations: 2.958 MB / 391.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.1412, allocations: 51.7 kB / 392 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.1412, allocations: 15.92 kB / 392 MB, free: 13.61 MB / 334.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002482/0.1415, allocations: 173.8 kB / 392.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.1416, allocations: 51.44 kB / 392.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.583e-05/0.1417, allocations: 52.77 kB / 392.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1417, allocations: 7.984 kB / 392.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1417, allocations: 0 / 392.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009467/0.1426, allocations: 0.7192 MB / 393 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.1442, allocations: 1.02 MB / 394 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1443, allocations: 0 / 394 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.1447, allocations: 87.81 kB / 394.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1447, allocations: 4 kB / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1447, allocations: 11.94 kB / 394.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1447, allocations: 7.922 kB / 394.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1447, allocations: 0 / 394.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.146, allocations: 0.6524 MB / 394.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.1462, allocations: 168.5 kB / 394.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.1462, allocations: 11.94 kB / 394.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.1466, allocations: 23.97 kB / 394.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.1467, allocations: 27.83 kB / 395 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1467, allocations: 8 kB / 395 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.1471, allocations: 331.2 kB / 395.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1471, allocations: 0 / 395.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.1476, allocations: 135.8 kB / 395.4 MB, free: 9.926 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.1477, allocations: 107.5 kB / 395.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1489, allocations: 0.6371 MB / 396.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1489, allocations: 4 kB / 396.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.1493, allocations: 171.7 kB / 396.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.15, allocations: 150.1 kB / 396.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1517, allocations: 0.9184 MB / 397.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1521, allocations: 0.8352 MB / 398.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.1523, allocations: 60.34 kB / 398.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1525, allocations: 43.44 kB / 398.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1525, allocations: 0 / 398.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of Templates: time 0.01635/0.1688, allocations: 8.922 MB / 407.3 MB, free: 13.96 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)