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.001272/0.001272, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001033/0.001033, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.3479/0.3479, allocations: 39.99 MB / 310.4 MB, free: 10 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.0005155/0.0005156, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 57.95 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0006555/0.1305, allocations: 212.4 kB / 437 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1318, allocations: 0.7376 MB / 437.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1319, allocations: 0 / 437.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1319, allocations: 3.938 kB / 437.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1321, allocations: 15.92 kB / 437.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1323, allocations: 31.91 kB / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.14e-05/0.1324, allocations: 0 / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.456e-05/0.1324, allocations: 3.984 kB / 437.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.1325, allocations: 8 kB / 437.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1326, allocations: 3.984 kB / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1326, allocations: 0 / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1327, allocations: 39.92 kB / 437.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1327, allocations: 0 / 437.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.1328, allocations: 29.7 kB / 437.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1329, allocations: 35.94 kB / 437.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1329, allocations: 0 / 437.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1329, allocations: 0 / 437.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1329, allocations: 0 / 437.9 MB, free: 1.465 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.0004602/0.1334, allocations: 353 kB / 438.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1334, allocations: 12.03 kB / 438.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1335, allocations: 0 / 438.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1336, allocations: 167 kB / 438.4 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1336, allocations: 4 kB / 438.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.1337, allocations: 0 / 438.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.1337, allocations: 33.7 kB / 438.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1338, allocations: 3.938 kB / 438.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.1338, allocations: 0 / 438.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1338, allocations: 0 / 438.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.1338, allocations: 11.98 kB / 438.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.134, allocations: 145.6 kB / 438.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.134, allocations: 22.55 kB / 438.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.134, allocations: 0 / 438.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.1342, allocations: 60.27 kB / 438.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1342, allocations: 0 / 438.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001929/0.1344, allocations: 67.45 kB / 438.7 MB, free: 428 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1344, allocations: 77.11 kB / 438.8 MB, free: 332 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.1345, allocations: 93.86 kB / 438.9 MB, free: 228 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1345, allocations: 29.7 kB / 438.9 MB, free: 192 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.1346, allocations: 80.14 kB / 439 MB, free: 108 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1346, allocations: 7.922 kB / 439 MB, free: 100 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.1346, allocations: 0 / 439 MB, free: 100 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.1349, allocations: 319 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.1349, allocations: 11.94 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.1349, allocations: 0 / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.1349, allocations: 25.7 kB / 439.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.135, allocations: 0 / 439.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1351, allocations: 63.41 kB / 439.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.1351, allocations: 33.7 kB / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1351, allocations: 3.984 kB / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1351, allocations: 0 / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1352, allocations: 0 / 439.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1352, allocations: 4.094 kB / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.1352, allocations: 0 / 439.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1352, allocations: 4 kB / 439.5 MB, free: 15.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.1353, allocations: 135.5 kB / 439.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.1353, allocations: 0 / 439.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.1354, allocations: 7.062 kB / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1354, allocations: 4 kB / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1354, allocations: 0 / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1354, allocations: 0 / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.1356, allocations: 153.9 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1356, allocations: 3.938 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1356, allocations: 0 / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1356, allocations: 4 kB / 439.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1356, allocations: 0 / 439.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1356, allocations: 0 / 439.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1356, allocations: 0 / 439.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1358, allocations: 94.83 kB / 439.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1359, allocations: 89.08 kB / 439.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1359, allocations: 0 / 439.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.1359, allocations: 4 kB / 440 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.1359, allocations: 3.984 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1359, allocations: 0 / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.136, allocations: 75.28 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.136, allocations: 0 / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1362, allocations: 23.94 kB / 440.1 MB, free: 14.91 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 (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.0004503/0.1367, allocations: 189.4 kB / 440.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.1368, allocations: 63.39 kB / 440.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1369, allocations: 4 kB / 440.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.1369, allocations: 55.47 kB / 440.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.137, allocations: 7.594 kB / 440.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.1372, allocations: 78.69 kB / 440.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1375, allocations: 0.6731 MB / 441.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.402e-06/0.1375, allocations: 0 / 441.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-06/0.1375, allocations: 11.38 kB / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1375, allocations: 0 / 441.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.003088/0.1406, allocations: 0.613 MB / 441.7 MB, free: 13.16 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: