Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MessagePack_MessagePack.Examples.TestCreateAndReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo", uses=false) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo): time 0.00327/0.00327, allocations: 336.8 kB / 16.64 MB, free: 6.348 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 13.28 kB / 24.65 MB, free: 4.414 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001438/0.0004168, allocations: 98.14 kB / 24.74 MB, free: 4.363 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001038/0.001462, allocations: 379.4 kB / 25.11 MB, free: 4.16 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.002041, allocations: 343.5 kB / 25.45 MB, free: 3.883 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.002074, allocations: 4 kB / 25.45 MB, free: 3.879 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.002104, allocations: 0 / 25.45 MB, free: 3.879 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.002131, allocations: 0 / 25.45 MB, free: 3.879 MB / 14.72 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:7:3-25:17:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createFile' contains a call to impure function 'MessagePack.Pack.SimpleBuffer.SimpleBuffer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:27:3-48:15:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.readFile' contains a call to impure function 'MessagePack.Unpack.Deserializer.constructor'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/Examples.mo:50:3-61:24:writable] Warning: Pure function 'MessagePack.Examples.TestCreateAndReadFile.createAndReadFile' contains a call to impure function 'MessagePack.Examples.TestCreateAndReadFile.createFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.002547, allocations: 119 kB / 25.57 MB, free: 3.785 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.549e-05/0.00259, allocations: 0 / 25.57 MB, free: 3.785 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.002642, allocations: 0 / 25.57 MB, free: 3.785 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.002661, allocations: 0 / 25.57 MB, free: 3.785 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.825e-05/0.002684, allocations: 3.984 kB / 25.57 MB, free: 3.781 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-06/0.002693, allocations: 0 / 25.57 MB, free: 3.781 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.002908, allocations: 145.1 kB / 25.71 MB, free: 3.672 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-06/0.002923, allocations: 0 / 25.71 MB, free: 3.672 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.002942, allocations: 5.859 kB / 25.72 MB, free: 3.668 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.003129, allocations: 119.5 kB / 25.84 MB, free: 3.57 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003138, allocations: 0 / 25.84 MB, free: 3.57 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003143, allocations: 0 / 25.84 MB, free: 3.57 MB / 14.72 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.003152, allocations: 0 / 25.84 MB, free: 3.57 MB / 14.72 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.000214/0.00337, allocations: 376.6 kB / 26.2 MB, free: 3.145 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.003408, allocations: 12.31 kB / 26.22 MB, free: 3.133 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003438, allocations: 9.094 kB / 26.23 MB, free: 3.125 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.54e-05/0.003488, allocations: 160.4 kB / 26.38 MB, free: 2.93 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.0035, allocations: 384 / 26.38 MB, free: 2.93 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003515, allocations: 4.375 kB / 26.39 MB, free: 2.926 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.43e-05/0.003583, allocations: 37.19 kB / 26.42 MB, free: 2.891 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003595, allocations: 192 / 26.42 MB, free: 2.891 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003607, allocations: 7.938 kB / 26.43 MB, free: 2.883 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.003614, allocations: 0 / 26.43 MB, free: 2.883 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.346e-05/0.003632, allocations: 0 / 26.43 MB, free: 2.883 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.003858, allocations: 383.2 kB / 26.8 MB, free: 2.461 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.003914, allocations: 177 kB / 26.98 MB, free: 2.277 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.003936, allocations: 80.14 kB / 27.06 MB, free: 2.195 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.003956, allocations: 75.28 kB / 27.13 MB, free: 2.121 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.003981, allocations: 109.2 kB / 27.24 MB, free: 2.008 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.372e-06/0.003987, allocations: 0 / 27.24 MB, free: 2.008 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.393e-05/0.004056, allocations: 37.92 kB / 27.27 MB, free: 1.965 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.175e-05/0.004072, allocations: 51.41 kB / 27.32 MB, free: 1.902 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.00413, allocations: 94 kB / 27.42 MB, free: 1.801 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.004142, allocations: 25.7 kB / 27.44 MB, free: 1.77 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.004172, allocations: 85.86 kB / 27.52 MB, free: 1.684 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.004179, allocations: 0 / 27.52 MB, free: 1.684 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.004208, allocations: 14.12 kB / 27.54 MB, free: 1.668 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.004254, allocations: 314.9 kB / 27.85 MB, free: 1.352 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.004267, allocations: 8 kB / 27.85 MB, free: 1.344 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.004288, allocations: 9.719 kB / 27.86 MB, free: 1.328 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.00431, allocations: 8.859 kB / 27.87 MB, free: 1.316 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.004317, allocations: 0 / 27.87 MB, free: 1.316 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.344e-05/0.004404, allocations: 48.88 kB / 27.92 MB, free: 1.266 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004423, allocations: 4 kB / 27.92 MB, free: 1.262 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004432, allocations: 128 / 27.92 MB, free: 1.262 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.004451, allocations: 8 kB / 27.93 MB, free: 1.254 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.0045, allocations: 0 / 27.93 MB, free: 1.254 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.00451, allocations: 3.938 kB / 27.93 MB, free: 1.25 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.004526, allocations: 0 / 27.93 MB, free: 1.25 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.004534, allocations: 0 / 27.93 MB, free: 1.25 MB / 14.72 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 3.877e-05/0.004577, allocations: 185.7 kB / 28.12 MB, free: 1.059 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.004615, allocations: 108.9 kB / 28.22 MB, free: 0.9453 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.004638, allocations: 108.5 kB / 28.33 MB, free: 0.8281 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.004663, allocations: 187.5 kB / 28.51 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.004679, allocations: 101 kB / 28.61 MB, free: 0.5352 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.004709, allocations: 182 kB / 28.79 MB, free: 340 kB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.004741, allocations: 180.2 kB / 28.96 MB, free: 152 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.004797, allocations: 105 kB / 29.07 MB, free: 40 kB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004023/0.008824, allocations: 181.2 kB / 29.24 MB, free: 4.781 MB / 14.72 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.421e-05/0.008856, allocations: 258.4 kB / 29.5 MB, free: 4.527 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 5.886e-05/0.00892, allocations: 380.2 kB / 29.87 MB, free: 4.145 MB / 14.72 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.559e-05/0.008941, allocations: 106.7 kB / 29.97 MB, free: 4.039 MB / 14.72 MB Notification: Performance of sorting global known variables: time 1.475e-05/0.00896, allocations: 76.88 kB / 30.05 MB, free: 3.965 MB / 14.72 MB Notification: Performance of Backend: time 6.71e-07/0.008966, allocations: 3.781 kB / 30.05 MB, free: 3.965 MB / 14.72 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.01037, allocations: 476.9 kB / 30.52 MB, free: 3.691 MB / 14.72 MB Notification: Performance of SimCode: time 0.0001953/0.01057, allocations: 0.8265 MB / 31.34 MB, free: 2.824 MB / 14.72 MB Notification: Performance of Templates: time 0.003424/0.01401, allocations: 1.677 MB / 33.02 MB, free: 1.746 MB / 14.72 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe >> ../files/MessagePack_MessagePack.Examples.TestCreateAndReadFile.sim & ./MessagePack_MessagePack.Examples.TestCreateAndReadFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)