Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.005485/0.005485, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001207/0.001207, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001189/0.001189, allocations: 58.12 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 46.61 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005687/0.116, allocations: 3.662 MB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1179, allocations: 1.021 MB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1181, allocations: 7.938 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.1185, allocations: 107.1 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.119, allocations: 206.3 kB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1193, allocations: 131.8 kB / 378.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.1201, allocations: 0.6847 MB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.1205, allocations: 194.2 kB / 379.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.1209, allocations: 251.1 kB / 379.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1213, allocations: 302.7 kB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.1214, allocations: 56 kB / 379.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.1215, allocations: 56 kB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1216, allocations: 131.5 kB / 379.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.1219, allocations: 310.6 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.1226, allocations: 0.6968 MB / 380.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1227, allocations: 0 / 380.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1227, allocations: 0 / 380.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1227, 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.001887/0.1246, allocations: 0.8817 MB / 381.8 MB, free: 8.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.1246, allocations: 15.97 kB / 381.8 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.1248, allocations: 64.19 kB / 381.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009376/0.1257, allocations: 442.4 kB / 382.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.1259, allocations: 58.91 kB / 382.4 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.126, allocations: 32.38 kB / 382.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/0.1269, allocations: 485 kB / 382.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1269, allocations: 0 / 382.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.127, allocations: 16 kB / 382.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.127, allocations: 12 kB / 382.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.1278, 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.0022/0.13, allocations: 1.298 MB / 384.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.1308, allocations: 371.5 kB / 384.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.1311, allocations: 188.7 kB / 385.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.1312, allocations: 4 kB / 385.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1312, allocations: 46.48 kB / 385.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.1312, allocations: 0 / 385.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001561/0.1328, allocations: 0.7159 MB / 385.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.1331, allocations: 445 kB / 386.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.1337, allocations: 461.8 kB / 386.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1337, allocations: 37.69 kB / 386.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.134, allocations: 240.5 kB / 387 MB, free: 2.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1341, allocations: 126.2 kB / 387.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1342, allocations: 73.61 kB / 387.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.1345, allocations: 362.7 kB / 387.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.1349, allocations: 139.9 kB / 387.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.1354, allocations: 278.6 kB / 388 MB, free: 1.941 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/0.1362, allocations: 345.1 kB / 388.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1362, allocations: 0 / 388.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001112/0.1374, allocations: 481.8 kB / 388.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.1374, allocations: 33.86 kB / 388.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1375, allocations: 0 / 388.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.1377, allocations: 49.69 kB / 388.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.1381, allocations: 87.92 kB / 388.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.141, allocations: 2.958 MB / 391.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.1415, allocations: 47.7 kB / 391.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1415, allocations: 19.94 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.0002616/0.1418, allocations: 165.8 kB / 392.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1419, allocations: 51.44 kB / 392.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1421, allocations: 56.75 kB / 392.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1421, allocations: 7.938 kB / 392.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1421, allocations: 0 / 392.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000988/0.1431, allocations: 0.7231 MB / 393 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.1451, allocations: 1.024 MB / 394 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.1452, allocations: 0 / 394 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.1456, allocations: 87.88 kB / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.1456, allocations: 4 kB / 394.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1457, allocations: 7.938 kB / 394.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1457, allocations: 4 kB / 394.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1457, allocations: 8.172 kB / 394.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.147, allocations: 0.6446 MB / 394.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.1473, allocations: 168.4 kB / 394.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.1473, allocations: 15.94 kB / 394.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.1477, allocations: 23.97 kB / 394.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.1478, allocations: 31.81 kB / 395 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1478, allocations: 12 kB / 395 MB, free: 10.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004634/0.1483, allocations: 323.1 kB / 395.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1483, allocations: 4.062 kB / 395.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.1489, allocations: 135.8 kB / 395.4 MB, free: 9.922 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.0001714/0.1491, allocations: 107.6 kB / 395.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.1504, allocations: 0.637 MB / 396.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1504, allocations: 0 / 396.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.1508, allocations: 179.6 kB / 396.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.1515, allocations: 145.9 kB / 396.5 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1534, allocations: 0.9183 MB / 397.4 MB, free: 7.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.154, allocations: 0.8236 MB / 398.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.1543, allocations: 64.36 kB / 398.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1544, allocations: 39.44 kB / 398.3 MB, free: 6.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1544, allocations: 0 / 398.3 MB, free: 6.91 MB / 334.1 MB Notification: Performance of Templates: time 0.01668/0.1711, allocations: 8.938 MB / 407.3 MB, free: 13.95 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)