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.005932/0.005932, allocations: 102 kB / 15.73 MB, free: 6.043 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.001159/0.001159, allocations: 200.9 kB / 16.68 MB, free: 5.961 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001378/0.001378, allocations: 51.23 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09317, allocations: 46.63 MB / 373.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004742/0.09795, allocations: 3.662 MB / 376.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.09984, allocations: 1.013 MB / 377.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000386/0.1003, allocations: 11.94 kB / 377.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1007, allocations: 107.1 kB / 378 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.1013, allocations: 190.3 kB / 378.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1016, allocations: 139.8 kB / 378.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.1025, allocations: 0.6769 MB / 379 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.1028, allocations: 198.2 kB / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.1031, allocations: 255.1 kB / 379.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.1035, allocations: 298.7 kB / 379.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1036, allocations: 56 kB / 379.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1038, allocations: 60 kB / 379.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.1039, allocations: 123.5 kB / 379.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.1041, allocations: 314.6 kB / 380.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.1048, allocations: 0.6889 MB / 380.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1048, allocations: 0 / 380.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1048, allocations: 0 / 380.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1048, allocations: 8 kB / 380.9 MB, free: 9.617 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.001496/0.1063, allocations: 0.8856 MB / 381.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1064, allocations: 8.031 kB / 381.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1065, allocations: 68.19 kB / 381.9 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.1072, allocations: 434.4 kB / 382.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/0.1073, allocations: 66.84 kB / 382.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.1074, allocations: 28.38 kB / 382.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.1081, allocations: 493 kB / 382.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1082, allocations: 0 / 382.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.1082, allocations: 16 kB / 382.9 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1082, allocations: 11.98 kB / 382.9 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.109, allocations: 338.4 kB / 383.2 MB, free: 7.141 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.001944/0.111, allocations: 1.286 MB / 384.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.1117, allocations: 387.5 kB / 384.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.1121, allocations: 176.7 kB / 385.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.1121, allocations: 11.92 kB / 385.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1122, allocations: 46.56 kB / 385.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.1122, allocations: 0 / 385.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001632/0.1138, allocations: 0.712 MB / 385.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.114, allocations: 445 kB / 386.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.1145, allocations: 465.8 kB / 386.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.1145, allocations: 37.7 kB / 386.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1147, allocations: 236.5 kB / 387 MB, free: 3.078 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.1148, allocations: 122.2 kB / 387.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1149, allocations: 73.61 kB / 387.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1151, allocations: 370.7 kB / 387.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.1154, allocations: 131.9 kB / 387.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.1159, allocations: 282.6 kB / 388 MB, free: 2.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.1166, allocations: 341.1 kB / 388.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1167, allocations: 0 / 388.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009984/0.1177, allocations: 489.9 kB / 388.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.1177, allocations: 29.7 kB / 388.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1177, allocations: 0 / 388.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.1179, allocations: 53.69 kB / 388.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.1183, allocations: 79.88 kB / 388.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.1205, allocations: 2.954 MB / 391.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.1209, allocations: 55.7 kB / 391.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.121, allocations: 15.94 kB / 392 MB, free: 13.72 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.0002044/0.1212, allocations: 169.8 kB / 392.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.1213, allocations: 51.42 kB / 392.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/0.1214, allocations: 56.77 kB / 392.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1214, allocations: 3.938 kB / 392.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1214, allocations: 4 kB / 392.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000875/0.1223, allocations: 0.7273 MB / 393 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.1238, allocations: 1.02 MB / 394 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1238, allocations: 0 / 394 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.1242, allocations: 87.88 kB / 394.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1243, allocations: 3.938 kB / 394.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.1243, allocations: 11.94 kB / 394.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1243, allocations: 3.938 kB / 394.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1243, allocations: 0 / 394.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.1255, allocations: 0.6485 MB / 394.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.1257, allocations: 164.5 kB / 394.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.1258, allocations: 15.92 kB / 394.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.1262, allocations: 32.03 kB / 394.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.1263, allocations: 23.83 kB / 395 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1263, allocations: 12 kB / 395 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000358/0.1267, allocations: 331.1 kB / 395.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1267, allocations: 0 / 395.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004585/0.1271, allocations: 135.8 kB / 395.4 MB, free: 10.03 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.0001386/0.1273, allocations: 99.58 kB / 395.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1285, allocations: 0.6409 MB / 396.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1285, allocations: 0 / 396.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.1289, allocations: 183.7 kB / 396.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.1296, allocations: 145.9 kB / 396.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1311, allocations: 0.9105 MB / 397.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1315, allocations: 0.8314 MB / 398.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.1318, allocations: 60.36 kB / 398.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1319, allocations: 47.42 kB / 398.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1319, allocations: 0 / 398.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of Templates: time 0.01487/0.1468, allocations: 9.187 MB / 407.5 MB, free: 13.8 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)