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.001042/0.001042, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.646/1.646, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.0017/0.0017, allocations: 112.8 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2219/0.2219, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.164e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08745, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.4915, allocations: 79.57 MB / 0.5222 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4919, allocations: 61.8 kB / 0.5222 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00334/0.4952, allocations: 1.411 MB / 0.5236 GB, free: 9.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4952, allocations: 0 / 0.5236 GB, free: 9.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4953, allocations: 3.906 kB / 0.5236 GB, free: 9.809 MB / 346.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.0001981/0.4955, allocations: 347.3 kB / 0.5239 GB, free: 9.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4955, allocations: 12.03 kB / 0.5239 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.4956, allocations: 7.859 kB / 0.524 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.806e-05/0.4957, allocations: 164.7 kB / 0.5241 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.4957, allocations: 0.875 kB / 0.5241 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.4957, allocations: 2.844 kB / 0.5241 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.4958, allocations: 40.31 kB / 0.5242 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.4958, allocations: 0 / 0.5242 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.4958, allocations: 0 / 0.5242 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4958, allocations: 0 / 0.5242 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.4958, allocations: 11.89 kB / 0.5242 GB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.361e-05/0.4959, allocations: 145.7 kB / 0.5243 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.287e-05/0.496, allocations: 17.52 kB / 0.5243 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.496, allocations: 8.953 kB / 0.5243 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.496, allocations: 0 / 0.5243 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.496, allocations: 56.27 kB / 0.5244 GB, free: 8.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.4961, allocations: 3.984 kB / 0.5244 GB, free: 8.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.4962, allocations: 71.33 kB / 0.5245 GB, free: 8.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.4962, allocations: 80.23 kB / 0.5245 GB, free: 8.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.132e-05/0.4963, allocations: 85 kB / 0.5246 GB, free: 8.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.4963, allocations: 25.7 kB / 0.5246 GB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.332e-05/0.4963, allocations: 80.14 kB / 0.5247 GB, free: 8.473 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.4963, allocations: 0 / 0.5247 GB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-06/0.4963, allocations: 0 / 0.5247 GB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.4964, allocations: 318.8 kB / 0.525 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.4964, allocations: 4.031 kB / 0.525 GB, free: 8.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.4964, allocations: 0 / 0.525 GB, free: 8.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/0.4964, allocations: 33.69 kB / 0.5251 GB, free: 8.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4964, allocations: 0 / 0.5251 GB, free: 8.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.668e-05/0.4965, allocations: 62.97 kB / 0.5251 GB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4965, allocations: 33.7 kB / 0.5251 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4965, allocations: 3.938 kB / 0.5251 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4965, allocations: 3.938 kB / 0.5252 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.4966, allocations: 0 / 0.5252 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4966, allocations: 4.094 kB / 0.5252 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.4966, allocations: 0 / 0.5252 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4966, allocations: 7.984 kB / 0.5252 GB, free: 7.98 MB / 346.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 () * 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 5.284e-05/0.4967, allocations: 130.6 kB / 0.5253 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-06/0.4967, allocations: 0 / 0.5253 GB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.128e-05/0.4967, allocations: 7.078 kB / 0.5253 GB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.4967, allocations: 4 kB / 0.5253 GB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4967, allocations: 0 / 0.5253 GB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4967, allocations: 0 / 0.5253 GB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.099e-05/0.4968, allocations: 156.1 kB / 0.5254 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4968, allocations: 0 / 0.5254 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.4968, allocations: 0 / 0.5254 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4968, allocations: 0 / 0.5254 GB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4968, allocations: 4 kB / 0.5255 GB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4968, allocations: 3.938 kB / 0.5255 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4968, allocations: 0 / 0.5255 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.064e-05/0.4969, allocations: 101.3 kB / 0.5256 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.4969, allocations: 81.14 kB / 0.5256 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.497, allocations: 0 / 0.5256 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.497, allocations: 0 / 0.5256 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.497, allocations: 0 / 0.5256 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.497, allocations: 4 kB / 0.5256 GB, free: 7.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.966e-05/0.497, allocations: 75.28 kB / 0.5257 GB, free: 7.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.497, allocations: 0 / 0.5257 GB, free: 7.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.4973, allocations: 23.67 kB / 0.5257 GB, free: 7.309 MB / 346.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) * 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.0004031/0.4977, allocations: 193.3 kB / 0.5259 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.4978, allocations: 59.39 kB / 0.526 GB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4978, allocations: 4.062 kB / 0.526 GB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.4978, allocations: 62.91 kB / 0.526 GB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.822e-05/0.4979, allocations: 3.953 kB / 0.526 GB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.4981, allocations: 51.11 kB / 0.5261 GB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.4982, allocations: 0.6731 MB / 0.5267 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.71e-06/0.4982, allocations: 0 / 0.5267 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-06/0.4982, allocations: 7.438 kB / 0.5267 GB, free: 6.211 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4982, allocations: 4 kB / 0.5268 GB, free: 6.207 MB / 346.7 MB Notification: Performance of Templates: time 0.002691/0.5009, allocations: 0.5652 MB / 0.5273 GB, free: 5.656 MB / 346.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)