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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack master/package.mo): time 0.001795/0.001795, allocations: 238.8 kB / 20.09 MB, free: 4.48 MB / 18.57 MB " [Timeout remaining time 180] Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack master/package.mo) Running command: translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") translateModel(MessagePack.Examples.TestCreateAndReadFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MessagePack_MessagePack.Examples.TestCreateAndReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.135e-06/3.135e-06, allocations: 3.984 kB / 31.18 MB, free: 3.395 MB / 18.57 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.691e-05, allocations: 5.562 kB / 31.19 MB, free: 3.391 MB / 18.57 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0009645/0.0009914, allocations: 377.5 kB / 31.55 MB, free: 3.023 MB / 18.57 MB Notification: Performance of NFInst.instExpressions: time 0.0004987/0.00149, allocations: 332.7 kB / 31.88 MB, free: 2.699 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.001513, allocations: 0 / 31.88 MB, free: 2.699 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.001529, allocations: 0.6562 kB / 31.88 MB, free: 2.699 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 2.56e-05/0.001555, allocations: 3.938 kB / 31.88 MB, free: 2.695 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 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 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 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.0003443/0.001899, allocations: 111.4 kB / 31.99 MB, free: 2.586 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 3.91e-05/0.001938, allocations: 8.375 kB / 32 MB, free: 2.578 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.001983, allocations: 128 / 32 MB, free: 2.578 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.002005, allocations: 3.938 kB / 32 MB, free: 2.574 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 1.622e-05/0.002021, allocations: 0 / 32 MB, free: 2.574 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.002027, allocations: 3.938 kB / 32.01 MB, free: 2.57 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.002187, allocations: 135.7 kB / 32.14 MB, free: 2.438 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.002193, allocations: 0 / 32.14 MB, free: 2.438 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 1.275e-05/0.002206, allocations: 4.125 kB / 32.14 MB, free: 2.434 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.002347, allocations: 127.6 kB / 32.27 MB, free: 2.309 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002348, allocations: 0 / 32.27 MB, free: 2.309 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.172e-06/0.00235, allocations: 0 / 32.27 MB, free: 2.309 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.002353, allocations: 4 kB / 32.27 MB, free: 2.305 MB / 18.57 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.0002012/0.002554, allocations: 315.9 kB / 32.58 MB, free: 1.953 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.002589, allocations: 8.391 kB / 32.59 MB, free: 1.945 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.002621, allocations: 5.109 kB / 32.6 MB, free: 1.941 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.634e-05/0.002657, allocations: 101.8 kB / 32.69 MB, free: 1.816 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.002668, allocations: 4.375 kB / 32.7 MB, free: 1.812 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.002675, allocations: 384 / 32.7 MB, free: 1.812 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.734e-05/0.002742, allocations: 34.19 kB / 32.73 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.002749, allocations: 192 / 32.73 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.002758, allocations: 8.359 kB / 32.74 MB, free: 1.766 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.002762, allocations: 4.375 kB / 32.75 MB, free: 1.762 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.002777, allocations: 3.938 kB / 32.75 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.00296, allocations: 327.7 kB / 33.07 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 3.26e-05/0.002993, allocations: 169.1 kB / 33.23 MB, free: 1.23 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.28e-05/0.003006, allocations: 84.17 kB / 33.32 MB, free: 1.145 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.003015, allocations: 75.28 kB / 33.39 MB, free: 1.07 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.003031, allocations: 113.8 kB / 33.5 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of pre-optimization done (n=0): time 4.51e-07/0.003031, allocations: 0 / 33.5 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of matching and sorting (n=0): time 4.71e-05/0.003078, allocations: 37.84 kB / 33.54 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.0031, allocations: 126.7 kB / 33.66 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.27e-05/0.003143, allocations: 94.2 kB / 33.75 MB, free: 0.668 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.003148, allocations: 25.7 kB / 33.78 MB, free: 0.6367 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.00317, allocations: 89.97 kB / 33.87 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.003173, allocations: 0 / 33.87 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.003194, allocations: 13.89 kB / 33.88 MB, free: 0.5273 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 2.691e-05/0.003221, allocations: 318.8 kB / 34.19 MB, free: 212 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-06/0.003227, allocations: 0 / 34.19 MB, free: 212 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.003245, allocations: 35.42 kB / 34.23 MB, free: 164 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.715e-05/0.003263, allocations: 8.859 kB / 34.23 MB, free: 152 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.003264, allocations: 4.219 kB / 34.24 MB, free: 148 kB / 18.57 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.727e-05/0.003331, allocations: 30.22 kB / 34.27 MB, free: 112 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.003342, allocations: 8 kB / 34.28 MB, free: 104 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.003345, allocations: 7.875 kB / 34.28 MB, free: 96 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.003357, allocations: 0 / 34.28 MB, free: 96 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.0034, allocations: 7.938 kB / 34.29 MB, free: 88 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.003405, allocations: 3.938 kB / 34.3 MB, free: 84 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.003415, allocations: 7.984 kB / 34.3 MB, free: 76 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.003419, allocations: 0 / 34.3 MB, free: 76 kB / 18.57 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 0.003929/0.007348, allocations: 181.7 kB / 34.48 MB, free: 8.07 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.007371, allocations: 106.2 kB / 34.58 MB, free: 7.965 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.007387, allocations: 112.7 kB / 34.69 MB, free: 7.855 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.0074, allocations: 179.7 kB / 34.87 MB, free: 7.676 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.007413, allocations: 184.7 kB / 35.05 MB, free: 7.496 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.007425, allocations: 178.7 kB / 35.22 MB, free: 7.316 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.535e-05/0.00749, allocations: 357 kB / 35.57 MB, free: 6.941 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.007497, allocations: 102.5 kB / 35.67 MB, free: 6.836 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-06/0.007505, allocations: 105.2 kB / 35.78 MB, free: 6.73 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.00752, allocations: 187.3 kB / 35.96 MB, free: 6.551 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.007534, allocations: 182.4 kB / 36.14 MB, free: 6.371 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.007545, allocations: 179 kB / 36.31 MB, free: 6.191 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.007557, allocations: 179.6 kB / 36.49 MB, free: 6.012 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.198e-05/0.007599, allocations: 312.3 kB / 36.79 MB, free: 5.699 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.007614, allocations: 108 kB / 36.9 MB, free: 5.59 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.007633, allocations: 180.7 kB / 37.07 MB, free: 5.41 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.775e-05/0.007661, allocations: 102.4 kB / 37.17 MB, free: 5.305 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.007679, allocations: 183.2 kB / 37.35 MB, free: 5.121 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.007687, allocations: 107.8 kB / 37.46 MB, free: 5.016 MB / 18.57 MB Notification: Performance of sorting global known variables: time 1.425e-05/0.007701, allocations: 75.28 kB / 37.53 MB, free: 4.941 MB / 18.57 MB Notification: Performance of sort global known variables: time 5e-08/0.007701, allocations: 0 / 37.53 MB, free: 4.941 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0001951/0.007896, allocations: 49.94 kB / 37.58 MB, free: 4.938 MB / 18.57 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.0006349/0.008531, allocations: 0.5911 MB / 38.17 MB, free: 4.523 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.008598, allocations: 6.281 kB / 38.18 MB, free: 4.52 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.008601, allocations: 1.062 kB / 38.18 MB, free: 4.52 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.008602, allocations: 4.062 kB / 38.18 MB, free: 4.516 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.008756, allocations: 461.4 kB / 38.63 MB, free: 4.07 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.008902, allocations: 174.4 kB / 38.8 MB, free: 3.867 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.296e-05/0.008925, allocations: 54.25 kB / 38.86 MB, free: 3.797 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.008935, allocations: 9.781 kB / 38.87 MB, free: 3.789 MB / 18.57 MB Notification: Performance of SimCode: time 3.31e-07/0.008936, allocations: 0 / 38.87 MB, free: 3.789 MB / 18.57 MB Notification: Performance of Templates: time 0.002176/0.01111, allocations: 1.84 MB / 40.71 MB, free: 2.301 MB / 18.57 MB " [Timeout remaining time 660] make -j1 -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 2.822982863523066] Failed to read output from testmodel.py, exit status != 0: 0.01606676448136568 0.029008325 0.025362751000000003 Calling exit ...