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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.006293/0.006293, allocations: 176.6 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.636/1.636, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001939/0.001939, allocations: 124.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1699/0.1699, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 11.44 kB / 406.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.2246, allocations: 79.65 MB / 0.528 GB, free: 3.539 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.2249, allocations: 63.97 kB / 0.5281 GB, free: 3.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004726/0.2297, allocations: 1.903 MB / 0.5299 GB, free: 1.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2297, allocations: 0 / 0.5299 GB, free: 1.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2297, allocations: 4 kB / 0.5299 GB, free: 1.566 MB / 378.7 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.0004642/0.2302, allocations: 361 kB / 0.5303 GB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.2303, allocations: 8.031 kB / 0.5303 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.2303, allocations: 7.953 kB / 0.5303 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2305, allocations: 163 kB / 0.5304 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2305, allocations: 0 / 0.5304 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.2305, allocations: 0 / 0.5304 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2307, allocations: 33.69 kB / 0.5305 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2307, allocations: 4 kB / 0.5305 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2307, allocations: 0 / 0.5305 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2307, allocations: 3.938 kB / 0.5305 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.2307, allocations: 3.953 kB / 0.5305 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.2309, allocations: 149.7 kB / 0.5306 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.231, allocations: 22.45 kB / 0.5306 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.231, allocations: 0 / 0.5306 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.2311, allocations: 68.34 kB / 0.5307 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2311, allocations: 0 / 0.5307 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002316/0.2313, allocations: 67.39 kB / 0.5308 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.2314, allocations: 77.11 kB / 0.5309 GB, free: 424 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.2315, allocations: 85 kB / 0.5309 GB, free: 332 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2315, allocations: 25.7 kB / 0.531 GB, free: 300 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.2316, allocations: 88.12 kB / 0.531 GB, free: 208 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.2316, allocations: 256 / 0.531 GB, free: 208 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.2316, allocations: 4 kB / 0.531 GB, free: 204 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.218/0.4496, allocations: 317.7 kB / 0.5313 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.4497, allocations: 3.844 kB / 0.5314 GB, free: 82.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.4497, allocations: 1.438 kB / 0.5314 GB, free: 82.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.4498, allocations: 27.95 kB / 0.5314 GB, free: 82.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4498, allocations: 0 / 0.5314 GB, free: 82.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001284/0.4499, allocations: 61.3 kB / 0.5314 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.45, allocations: 32.33 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.45, allocations: 1.594 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.4501, allocations: 0 / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.4501, allocations: 1.469 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4501, allocations: 1.078 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.4501, allocations: 5.766 kB / 0.5315 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4501, allocations: 1.062 kB / 0.5315 GB, free: 82.49 MB / 378.7 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 8.206e-05/0.4502, allocations: 140.2 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.4502, allocations: 1.969 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.723e-05/0.4503, allocations: 7.969 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4503, allocations: 1.125 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4503, allocations: 3.844 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4503, allocations: 0.9844 kB / 0.5316 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.003e-05/0.4504, allocations: 151.1 kB / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4504, allocations: 0.7031 kB / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-06/0.4504, allocations: 3.031 kB / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4504, allocations: 0 / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4504, allocations: 2.594 kB / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4504, allocations: 0 / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4504, allocations: 1.703 kB / 0.5318 GB, free: 82.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.4505, allocations: 95.88 kB / 0.5319 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.4506, allocations: 82.92 kB / 0.532 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4506, allocations: 2.75 kB / 0.532 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.4506, allocations: 1.375 kB / 0.532 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.4506, allocations: 2.734 kB / 0.532 GB, free: 81.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4507, allocations: 2.594 kB / 0.532 GB, free: 81.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.4507, allocations: 78.81 kB / 0.532 GB, free: 81.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4507, allocations: 2.688 kB / 0.532 GB, free: 81.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.451, allocations: 21.56 kB / 0.5321 GB, free: 81.88 MB / 378.7 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.0004095/0.4514, allocations: 199.2 kB / 0.5322 GB, free: 81.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.258e-05/0.4515, allocations: 57.05 kB / 0.5323 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4515, allocations: 1.062 kB / 0.5323 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.4516, allocations: 60.62 kB / 0.5324 GB, free: 81.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.4517, allocations: 5.109 kB / 0.5324 GB, free: 81.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.4518, allocations: 84.44 kB / 0.5324 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.535e-05/0.4519, allocations: 0.6727 MB / 0.5331 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.222e-06/0.452, allocations: 0 / 0.5331 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.022e-05/0.452, allocations: 9.219 kB / 0.5331 GB, free: 80.85 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.452, allocations: 0 / 0.5331 GB, free: 80.85 MB / 378.7 MB Notification: Performance of Templates: time 0.002843/0.4548, allocations: 0.612 MB / 0.5337 GB, free: 80.78 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.makefile (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)