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.01109/0.01109, allocations: 323.6 kB / 15.59 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.536e-05, allocations: 0 / 22.36 MB, free: 1.207 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002087/0.0002407, allocations: 99.97 kB / 22.46 MB, free: 1.109 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0004139/0.0006625, allocations: 100.9 kB / 22.56 MB, free: 1.012 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006302/0.001305, allocations: 335.6 kB / 22.88 MB, free: 0.6875 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.176e-05/0.001329, allocations: 0 / 22.88 MB, free: 0.6875 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.001348, allocations: 4 kB / 22.89 MB, free: 0.6836 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.156e-05/0.001375, allocations: 0 / 22.89 MB, free: 0.6836 MB / 14.72 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.001743, allocations: 95.8 kB / 22.98 MB, free: 0.5898 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.258e-05/0.001787, allocations: 0.875 kB / 22.98 MB, free: 0.5898 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.001836, allocations: 0 / 22.98 MB, free: 0.5898 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.468e-05/0.001857, allocations: 11.94 kB / 22.99 MB, free: 0.5781 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.373e-05/0.001876, allocations: 0 / 22.99 MB, free: 0.5781 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.001886, allocations: 0 / 22.99 MB, free: 0.5781 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.002154, allocations: 139.8 kB / 23.13 MB, free: 452 kB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.00217, allocations: 0 / 23.13 MB, free: 452 kB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.002198, allocations: 25.7 kB / 23.16 MB, free: 420 kB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.00242, allocations: 115.8 kB / 23.27 MB, free: 304 kB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.002434, allocations: 0 / 23.27 MB, free: 304 kB / 14.72 MB Notification: Performance of FrontEnd: time 8.01e-07/0.002441, allocations: 0 / 23.27 MB, free: 304 kB / 14.72 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.002448, allocations: 0 / 23.27 MB, free: 304 kB / 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.007109/0.009562, allocations: 382.3 kB / 23.64 MB, free: 5.562 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.009634, allocations: 8 kB / 23.65 MB, free: 5.562 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.009687, allocations: 2.438 kB / 23.65 MB, free: 5.562 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.228e-05/0.009775, allocations: 162.4 kB / 23.81 MB, free: 5.367 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.009801, allocations: 384 / 23.81 MB, free: 5.367 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.00982, allocations: 1.781 kB / 23.81 MB, free: 5.367 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.009949, allocations: 31.55 kB / 23.84 MB, free: 5.336 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.009973, allocations: 1.781 kB / 23.85 MB, free: 5.336 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.009994, allocations: 9.266 kB / 23.85 MB, free: 5.332 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01001, allocations: 0 / 23.85 MB, free: 5.332 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.01004, allocations: 2.312 kB / 23.86 MB, free: 5.332 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.01036, allocations: 381 kB / 24.23 MB, free: 4.922 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.01044, allocations: 173 kB / 24.4 MB, free: 4.746 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.01047, allocations: 80.77 kB / 24.48 MB, free: 4.664 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.0105, allocations: 75.28 kB / 24.55 MB, free: 4.59 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.01053, allocations: 111.2 kB / 24.66 MB, free: 4.477 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.01054, allocations: 0 / 24.66 MB, free: 4.477 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 7.734e-05/0.01062, allocations: 31.89 kB / 24.69 MB, free: 4.445 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.01067, allocations: 126.7 kB / 24.81 MB, free: 4.309 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.01075, allocations: 93.89 kB / 24.91 MB, free: 4.211 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.01077, allocations: 31.39 kB / 24.94 MB, free: 4.176 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.01083, allocations: 83.52 kB / 25.02 MB, free: 4.094 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.01084, allocations: 0 / 25.02 MB, free: 4.094 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.01087, allocations: 14.95 kB / 25.03 MB, free: 4.078 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.01093, allocations: 313.1 kB / 25.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.01095, allocations: 1 kB / 25.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.01098, allocations: 14.91 kB / 25.35 MB, free: 3.75 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.01101, allocations: 14.92 kB / 25.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01102, allocations: 0 / 25.37 MB, free: 3.738 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001167/0.01114, allocations: 38.56 kB / 25.41 MB, free: 3.703 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01116, allocations: 4.312 kB / 25.41 MB, free: 3.703 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.01117, allocations: 0.8438 kB / 25.41 MB, free: 3.703 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.0112, allocations: 2.125 kB / 25.41 MB, free: 3.703 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.01129, allocations: 1.281 kB / 25.41 MB, free: 3.703 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.0113, allocations: 5.188 kB / 25.42 MB, free: 3.703 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.01133, allocations: 0.875 kB / 25.42 MB, free: 3.703 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.01134, allocations: 5.031 kB / 25.43 MB, free: 3.699 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 7.928e-05/0.01142, allocations: 188.7 kB / 25.61 MB, free: 3.508 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.01148, allocations: 109.8 kB / 25.72 MB, free: 3.402 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.01153, allocations: 110.8 kB / 25.82 MB, free: 3.289 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/0.01157, allocations: 181.5 kB / 26 MB, free: 3.109 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-05/0.01162, allocations: 178.8 kB / 26.18 MB, free: 2.93 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-05/0.01167, allocations: 185.2 kB / 26.36 MB, free: 2.742 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.01186, allocations: 407.7 kB / 26.76 MB, free: 2.297 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/0.0119, allocations: 109.4 kB / 26.86 MB, free: 2.188 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.01193, allocations: 103 kB / 26.96 MB, free: 2.082 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.332e-05/0.01197, allocations: 177.7 kB / 27.14 MB, free: 1.902 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.01202, allocations: 186.5 kB / 27.32 MB, free: 1.715 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.01206, allocations: 184.7 kB / 27.5 MB, free: 1.531 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.883e-05/0.0121, allocations: 182.8 kB / 27.68 MB, free: 1.348 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.01222, allocations: 304.7 kB / 27.98 MB, free: 1.031 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.01228, allocations: 184 kB / 28.15 MB, free: 0.832 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.01235, allocations: 185.4 kB / 28.34 MB, free: 0.6484 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.01242, allocations: 104.9 kB / 28.44 MB, free: 0.5391 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.01247, allocations: 177.3 kB / 28.61 MB, free: 368 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.0125, allocations: 104.9 kB / 28.71 MB, free: 256 kB / 14.72 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.01253, allocations: 83.8 kB / 28.8 MB, free: 180 kB / 14.72 MB Notification: Performance of sort global known variables: time 1.412e-06/0.01255, allocations: 0 / 28.8 MB, free: 180 kB / 14.72 MB Notification: Performance of remove unused functions: time 0.0003699/0.01293, allocations: 53.75 kB / 28.85 MB, free: 172 kB / 14.72 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001815/0.01475, allocations: 0.559 MB / 29.41 MB, free: 4.645 MB / 19.63 MB Notification: Performance of simCode: created initialization part: time 9.357e-05/0.01486, allocations: 3.344 kB / 29.41 MB, free: 4.645 MB / 19.63 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01486, allocations: 0 / 29.41 MB, free: 4.645 MB / 19.63 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-06/0.01487, allocations: 1.469 kB / 29.41 MB, free: 4.645 MB / 19.63 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.01541, allocations: 0.5255 MB / 29.94 MB, free: 4.117 MB / 19.63 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.01567, allocations: 157.4 kB / 30.09 MB, free: 3.941 MB / 19.63 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.01599, allocations: 0.6718 MB / 30.76 MB, free: 3.246 MB / 19.63 MB Notification: Performance of simCode: alias equations: time 1.64e-05/0.01602, allocations: 1.031 kB / 30.76 MB, free: 3.246 MB / 19.63 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.01603, allocations: 7.438 kB / 30.77 MB, free: 3.238 MB / 19.63 MB Notification: Performance of SimCode: time 3.51e-07/0.01604, allocations: 0 / 30.77 MB, free: 3.238 MB / 19.63 MB Notification: Performance of Templates: time 0.005042/0.02109, allocations: 1.648 MB / 32.42 MB, free: 2.008 MB / 19.63 MB make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: