Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.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.TestWriteFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile") translateModel(ModelicaTest.Utilities.TestWriteFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007442/0.007443, allocations: 176 kB / 15.12 MB, free: 5.98 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.672/1.672, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001714/0.001714, allocations: 112.6 kB / 255.6 MB, free: 11.2 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.1958/0.1958, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.000378, allocations: 10.81 kB / 406.1 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1086, allocations: 54.87 MB / 461 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.225, allocations: 79.66 MB / 0.528 GB, free: 3.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.2253, allocations: 59.97 kB / 0.5281 GB, free: 3.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005193/0.2305, allocations: 1.421 MB / 0.5294 GB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2305, allocations: 0 / 0.5294 GB, free: 2.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.2305, allocations: 3.938 kB / 0.5294 GB, free: 2.191 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.0003359/0.2309, allocations: 361 kB / 0.5298 GB, free: 1.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.2309, allocations: 8.031 kB / 0.5298 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.231, allocations: 3.953 kB / 0.5298 GB, free: 1.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2311, allocations: 164.3 kB / 0.53 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2312, allocations: 3.938 kB / 0.53 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2312, allocations: 4 kB / 0.53 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.2313, allocations: 29.69 kB / 0.53 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2313, allocations: 0 / 0.53 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2313, allocations: 0 / 0.53 GB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2313, allocations: 4 kB / 0.53 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.2314, allocations: 3.953 kB / 0.53 GB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.2316, allocations: 145.7 kB / 0.5301 GB, free: 1.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.2316, allocations: 26.55 kB / 0.5302 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.2316, allocations: 0 / 0.5302 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.2317, allocations: 56.27 kB / 0.5302 GB, free: 1.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.2317, allocations: 0 / 0.5302 GB, free: 1.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000191/0.2319, allocations: 67.45 kB / 0.5303 GB, free: 1.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.232, allocations: 77.11 kB / 0.5304 GB, free: 1.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.2321, allocations: 89.06 kB / 0.5304 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2321, allocations: 29.7 kB / 0.5305 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.2321, allocations: 84.14 kB / 0.5306 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2322, allocations: 0 / 0.5306 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.2322, allocations: 0 / 0.5306 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2323, allocations: 314.8 kB / 0.5309 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.2323, allocations: 3.984 kB / 0.5309 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.2324, allocations: 0 / 0.5309 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.2324, allocations: 33.7 kB / 0.5309 GB, free: 492 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2324, allocations: 4.062 kB / 0.5309 GB, free: 488 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.015e-05/0.2325, allocations: 59.41 kB / 0.531 GB, free: 416 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.2326, allocations: 29.7 kB / 0.531 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2326, allocations: 0 / 0.531 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2326, allocations: 0 / 0.531 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.116e-06/0.2326, allocations: 3.984 kB / 0.531 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2326, allocations: 0 / 0.531 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.2327, allocations: 4 kB / 0.531 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.2327, allocations: 0 / 0.531 GB, free: 372 kB / 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 0.0001138/0.2328, allocations: 143.5 kB / 0.5311 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.2328, allocations: 4 kB / 0.5311 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.2329, allocations: 7.078 kB / 0.5311 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2329, allocations: 0 / 0.5311 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2329, allocations: 7.938 kB / 0.5311 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2329, allocations: 3.938 kB / 0.5311 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2263/0.4592, allocations: 153.5 kB / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4593, allocations: 1.094 kB / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.4593, allocations: 0 / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.4593, allocations: 0 / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.4593, allocations: 2.156 kB / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4593, allocations: 0 / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4593, allocations: 4.219 kB / 0.5313 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.4595, allocations: 91.42 kB / 0.5314 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.4595, allocations: 78.05 kB / 0.5315 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4596, allocations: 1.562 kB / 0.5315 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.4596, allocations: 2.094 kB / 0.5315 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.4596, allocations: 1.438 kB / 0.5315 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.4596, allocations: 0.8125 kB / 0.5315 GB, free: 82.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.775e-05/0.4596, allocations: 80.06 kB / 0.5315 GB, free: 82.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4596, allocations: 0.5625 kB / 0.5315 GB, free: 82.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.46, allocations: 19.59 kB / 0.5316 GB, free: 82.91 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.0003934/0.4604, allocations: 208.4 kB / 0.5318 GB, free: 82.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.4604, allocations: 57.78 kB / 0.5318 GB, free: 82.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4605, allocations: 0 / 0.5318 GB, free: 82.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.4605, allocations: 56.89 kB / 0.5319 GB, free: 82.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.509e-05/0.4606, allocations: 3.781 kB / 0.5319 GB, free: 82.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.4607, allocations: 83.86 kB / 0.532 GB, free: 82.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.4609, allocations: 0.6772 MB / 0.5326 GB, free: 81.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.007e-05/0.4609, allocations: 1.219 kB / 0.5326 GB, free: 81.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-06/0.4609, allocations: 10.38 kB / 0.5326 GB, free: 81.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4609, allocations: 0 / 0.5326 GB, free: 81.89 MB / 378.7 MB Notification: Performance of Templates: time 0.002623/0.4635, allocations: 0.5628 MB / 0.5332 GB, free: 81.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.sim & ./ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Utilities.TestWriteFile.pipe 2>&1)