Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007613/0.0007613, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005839/0.00584, allocations: 173.2 kB / 16.27 MB, free: 6.652 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.803/1.803, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4019/0.4019, allocations: 40 MB / 310.7 MB, free: 9.562 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.0005586, allocations: 12.52 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 57.96 MB / 437.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0006312/0.1304, allocations: 222.1 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1316, allocations: 0.7634 MB / 438.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.027e-05/0.1316, allocations: 4 kB / 438.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.1317, allocations: 0 / 438.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.1318, allocations: 11.98 kB / 438.4 MB, free: 0.9297 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:47:3-68:15:writable] Warning: Pure function ‘Modelica.Utilities.Streams.readFile‘ contains a call to impure function ‘Modelica.Utilities.Streams.countLines‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Utilities.mo:322:3-362:15:writable] Warning: Pure function ‘ModelicaTest.Utilities.ReadFile‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.1324, allocations: 47.09 kB / 438.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.662e-05/0.1324, allocations: 3.984 kB / 438.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.1325, allocations: 4 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.1325, allocations: 0 / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006586/0.1391, allocations: 4 kB / 438.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1392, allocations: 0 / 438.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.1395, allocations: 63.83 kB / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.1395, allocations: 0 / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1396, allocations: 33.69 kB / 438.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1398, allocations: 47.94 kB / 438.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1398, allocations: 0 / 438.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1398, allocations: 0 / 438.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1398, allocations: 0 / 438.6 MB, free: 0.7305 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005384/0.1404, allocations: 353.2 kB / 438.9 MB, free: 336 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.1404, allocations: 11.97 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1405, allocations: 0.9375 kB / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.1407, allocations: 160.4 kB / 439.1 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1407, allocations: 4.375 kB / 439.1 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1407, allocations: 4.375 kB / 439.1 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1408, allocations: 30.27 kB / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1409, allocations: 192 / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1409, allocations: 7.938 kB / 439.2 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1409, allocations: 3.984 kB / 439.2 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.1409, allocations: 3.938 kB / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1411, allocations: 141.7 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.207e-05/0.1412, allocations: 22.61 kB / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.1413, allocations: 4.859 kB / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.1413, allocations: 0 / 439.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.184e-05/0.1414, allocations: 68.31 kB / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.372e-06/0.1414, allocations: 0 / 439.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002231/0.1416, allocations: 67.28 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.1417, allocations: 77.11 kB / 439.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.1418, allocations: 97.98 kB / 439.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1418, allocations: 29.69 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.1418, allocations: 84.14 kB / 439.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1419, allocations: 0 / 439.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1419, allocations: 9.719 kB / 439.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.142, allocations: 310.8 kB / 440.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.1421, allocations: 0 / 440.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.1421, allocations: 4 kB / 440.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.922e-05/0.1422, allocations: 68.39 kB / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1422, allocations: 3.938 kB / 440.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000103/0.1423, allocations: 67.39 kB / 440.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.1423, allocations: 29.7 kB / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1424, allocations: 3.938 kB / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1424, allocations: 0 / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.1424, allocations: 0 / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1424, allocations: 0 / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.1424, allocations: 0 / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1425, allocations: 4 kB / 440.2 MB, free: 14.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001217/0.1426, allocations: 143.5 kB / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1426, allocations: 7.984 kB / 440.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.1426, allocations: 7.062 kB / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1426, allocations: 0 / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1427, allocations: 0 / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1427, allocations: 0 / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1428, allocations: 146 kB / 440.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1428, allocations: 7.984 kB / 440.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1428, allocations: 0 / 440.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1428, allocations: 8 kB / 440.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1429, allocations: 3.938 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1429, allocations: 0 / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1429, allocations: 3.938 kB / 440.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.143, allocations: 90.83 kB / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.1431, allocations: 77.11 kB / 440.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1431, allocations: 7.938 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.1431, allocations: 4.031 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.1431, allocations: 0 / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1432, allocations: 3.984 kB / 440.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.1432, allocations: 75.28 kB / 440.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1432, allocations: 0 / 440.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.1436, allocations: 16 kB / 440.8 MB, free: 14.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004662/0.1441, allocations: 177.8 kB / 441 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.1442, allocations: 63.34 kB / 441.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1442, allocations: 0 / 441.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.1442, allocations: 55.41 kB / 441.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.1445, allocations: 7.734 kB / 441.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.1447, allocations: 94.67 kB / 441.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.145, allocations: 0.6692 MB / 441.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.654e-06/0.1451, allocations: 0 / 441.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.1451, allocations: 11.44 kB / 441.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1451, allocations: 0 / 441.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of Templates: time 0.003897/0.149, allocations: 0.6293 MB / 442.5 MB, free: 12.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) Environment - environmentSimulation: