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.003332/0.003332, allocations: 246.6 kB / 19.93 MB, free: 1.871 MB / 14.72 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 0.0005164/0.0005164, allocations: 17.55 kB / 30.94 MB, free: 2.91 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000116/0.0006324, allocations: 92.58 kB / 31.03 MB, free: 2.844 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.00107/0.001702, allocations: 382.2 kB / 31.41 MB, free: 2.488 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005436/0.002246, allocations: 341.7 kB / 31.74 MB, free: 2.16 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.002273, allocations: 0 / 31.74 MB, free: 2.16 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.049e-05/0.002283, allocations: 4 kB / 31.74 MB, free: 2.156 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.895e-05/0.002312, allocations: 0 / 31.74 MB, free: 2.156 MB / 14.72 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.0003575/0.00267, allocations: 111.6 kB / 31.85 MB, free: 2.047 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.665e-05/0.002696, allocations: 0 / 31.85 MB, free: 2.047 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 2.955e-05/0.002726, allocations: 0 / 31.85 MB, free: 2.047 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.06e-05/0.002737, allocations: 0 / 31.85 MB, free: 2.047 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.269e-05/0.002749, allocations: 0 / 31.85 MB, free: 2.047 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-06/0.002753, allocations: 0 / 31.85 MB, free: 2.047 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.002912, allocations: 139.8 kB / 31.99 MB, free: 1.91 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.783e-06/0.002919, allocations: 0 / 31.99 MB, free: 1.91 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.002933, allocations: 11.94 kB / 32 MB, free: 1.898 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.003077, allocations: 115.7 kB / 32.11 MB, free: 1.785 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003079, allocations: 0 / 32.11 MB, free: 1.785 MB / 14.72 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00308, allocations: 0 / 32.11 MB, free: 1.785 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.003083, allocations: 0 / 32.11 MB, free: 1.785 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.0002065/0.00329, allocations: 311.8 kB / 32.42 MB, free: 1.438 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.00332, allocations: 12.39 kB / 32.43 MB, free: 1.426 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.003347, allocations: 1.109 kB / 32.43 MB, free: 1.426 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.276e-05/0.00339, allocations: 102.5 kB / 32.53 MB, free: 1.301 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.003401, allocations: 2.688 kB / 32.53 MB, free: 1.301 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.003407, allocations: 4.375 kB / 32.54 MB, free: 1.297 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/0.003471, allocations: 30.27 kB / 32.57 MB, free: 1.262 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.003479, allocations: 4.125 kB / 32.57 MB, free: 1.258 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.003485, allocations: 3.938 kB / 32.58 MB, free: 1.254 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.003489, allocations: 0 / 32.58 MB, free: 1.254 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.372e-05/0.003502, allocations: 4 kB / 32.58 MB, free: 1.25 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.003663, allocations: 339.6 kB / 32.91 MB, free: 0.8867 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.003701, allocations: 169.1 kB / 33.08 MB, free: 0.7109 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.003713, allocations: 80.14 kB / 33.15 MB, free: 0.6289 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.003722, allocations: 83.16 kB / 33.24 MB, free: 0.5469 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.003736, allocations: 113.8 kB / 33.35 MB, free: 436 kB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.003737, allocations: 0 / 33.35 MB, free: 436 kB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.336e-05/0.00379, allocations: 29.88 kB / 33.38 MB, free: 400 kB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.003814, allocations: 126.7 kB / 33.5 MB, free: 260 kB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/0.003857, allocations: 98.19 kB / 33.6 MB, free: 152 kB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.003863, allocations: 25.7 kB / 33.62 MB, free: 120 kB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 1.936e-05/0.003882, allocations: 82.03 kB / 33.7 MB, free: 36 kB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.003884, allocations: 0 / 33.7 MB, free: 36 kB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.003906, allocations: 17.89 kB / 33.72 MB, free: 12 kB / 14.72 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.004057, allocations: 310.8 kB / 34.02 MB, free: 4.609 MB / 19.63 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.004064, allocations: 0 / 34.02 MB, free: 4.609 MB / 19.63 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.004106, allocations: 47.48 kB / 34.07 MB, free: 4.551 MB / 19.63 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.004127, allocations: 8.859 kB / 34.08 MB, free: 4.539 MB / 19.63 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.004128, allocations: 0 / 34.08 MB, free: 4.539 MB / 19.63 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.097e-05/0.004219, allocations: 42.14 kB / 34.12 MB, free: 4.492 MB / 19.63 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.00423, allocations: 4 kB / 34.12 MB, free: 4.488 MB / 19.63 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.004233, allocations: 0 / 34.12 MB, free: 4.488 MB / 19.63 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.004244, allocations: 0 / 34.12 MB, free: 4.488 MB / 19.63 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.00428, allocations: 4 kB / 34.13 MB, free: 4.484 MB / 19.63 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.004284, allocations: 0 / 34.13 MB, free: 4.484 MB / 19.63 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.004295, allocations: 0 / 34.13 MB, free: 4.484 MB / 19.63 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.004299, allocations: 4.125 kB / 34.13 MB, free: 4.48 MB / 19.63 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.0001106/0.004409, allocations: 189.7 kB / 34.32 MB, free: 4.285 MB / 19.63 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-05/0.004501, allocations: 116.9 kB / 34.43 MB, free: 4.164 MB / 19.63 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.618e-05/0.004567, allocations: 112.3 kB / 34.54 MB, free: 4.047 MB / 19.63 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.519e-05/0.004652, allocations: 180.2 kB / 34.72 MB, free: 3.863 MB / 19.63 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.625e-05/0.004738, allocations: 180.3 kB / 34.89 MB, free: 3.68 MB / 19.63 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.534e-05/0.004824, allocations: 184.2 kB / 35.07 MB, free: 3.492 MB / 19.63 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.00506, allocations: 348.9 kB / 35.41 MB, free: 3.113 MB / 19.63 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.477e-05/0.005104, allocations: 101 kB / 35.51 MB, free: 3.008 MB / 19.63 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.005161, allocations: 108.9 kB / 35.62 MB, free: 2.895 MB / 19.63 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.543e-05/0.005247, allocations: 184.2 kB / 35.8 MB, free: 2.707 MB / 19.63 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.00533, allocations: 188.3 kB / 35.98 MB, free: 2.516 MB / 19.63 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-05/0.005418, allocations: 192.2 kB / 36.17 MB, free: 2.32 MB / 19.63 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-05/0.0055, allocations: 176.3 kB / 36.34 MB, free: 2.141 MB / 19.63 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.005665, allocations: 307.8 kB / 36.64 MB, free: 1.816 MB / 19.63 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.005785, allocations: 112.9 kB / 36.75 MB, free: 1.699 MB / 19.63 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.845e-05/0.005874, allocations: 180.2 kB / 36.93 MB, free: 1.516 MB / 19.63 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.005965, allocations: 104.9 kB / 37.03 MB, free: 1.406 MB / 19.63 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.006074, allocations: 184.2 kB / 37.21 MB, free: 1.219 MB / 19.63 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.006118, allocations: 101 kB / 37.31 MB, free: 1.113 MB / 19.63 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.006159, allocations: 83.28 kB / 37.39 MB, free: 1.031 MB / 19.63 MB Notification: Performance of sort global known variables: time 8e-08/0.006159, allocations: 0 / 37.39 MB, free: 1.031 MB / 19.63 MB Notification: Performance of remove unused functions: time 0.0002986/0.006458, allocations: 43.86 kB / 37.43 MB, free: 0.9883 MB / 19.63 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.001394/0.007851, allocations: 0.5939 MB / 38.03 MB, free: 396 kB / 19.63 MB Notification: Performance of simCode: created initialization part: time 6.183e-05/0.007913, allocations: 3.938 kB / 38.03 MB, free: 392 kB / 19.63 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007915, allocations: 0 / 38.03 MB, free: 392 kB / 19.63 MB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.007916, allocations: 4 kB / 38.03 MB, free: 388 kB / 19.63 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/0.01249, allocations: 459.7 kB / 38.48 MB, free: 8.105 MB / 19.63 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001437/0.01264, allocations: 155.6 kB / 38.64 MB, free: 7.934 MB / 19.63 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.01267, allocations: 54.28 kB / 38.69 MB, free: 7.863 MB / 19.63 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.01268, allocations: 0 / 38.69 MB, free: 7.863 MB / 19.63 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.01269, allocations: 9.844 kB / 38.7 MB, free: 7.852 MB / 19.63 MB Notification: Performance of SimCode: time 3.1e-07/0.01269, allocations: 0 / 38.7 MB, free: 7.852 MB / 19.63 MB Notification: Performance of Templates: time 0.003897/0.01659, allocations: 1.662 MB / 40.36 MB, free: 7.137 MB / 19.63 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 -s ida -lv LOG_STATS > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.39772968494799] Failed to read output from testmodel.py, exit status != 0: 0.023277341038919985 0.048514938 0.043249513 Calling exit ...