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.003185/0.003185, allocations: 338.4 kB / 19.93 MB, free: 1.895 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.000514/0.000514, allocations: 16.25 kB / 30.93 MB, free: 3.008 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001058/0.0006198, allocations: 93.22 kB / 31.02 MB, free: 2.93 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001089/0.001709, allocations: 382.3 kB / 31.4 MB, free: 2.59 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0005497/0.002258, allocations: 341.4 kB / 31.73 MB, free: 2.262 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.002283, allocations: 0 / 31.73 MB, free: 2.262 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.002293, allocations: 0 / 31.73 MB, free: 2.262 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.002318, allocations: 0 / 31.73 MB, free: 2.262 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.0003537/0.002672, allocations: 111.6 kB / 31.84 MB, free: 2.152 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 2.597e-05/0.002698, allocations: 4 kB / 31.84 MB, free: 2.148 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.002729, allocations: 0 / 31.84 MB, free: 2.148 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.119e-05/0.00274, allocations: 4 kB / 31.85 MB, free: 2.145 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.252e-05/0.002753, allocations: 0 / 31.85 MB, free: 2.145 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-06/0.002756, allocations: 0 / 31.85 MB, free: 2.145 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.00293, allocations: 140.4 kB / 31.98 MB, free: 2.008 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-06/0.002937, allocations: 0 / 31.98 MB, free: 2.008 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.00295, allocations: 3.938 kB / 31.99 MB, free: 2.004 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.0031, allocations: 115.7 kB / 32.1 MB, free: 1.891 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003102, allocations: 0 / 32.1 MB, free: 1.891 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.02e-07/0.003103, allocations: 0 / 32.1 MB, free: 1.891 MB / 14.72 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.003107, allocations: 4 kB / 32.11 MB, free: 1.887 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.0002618/0.003368, allocations: 311.8 kB / 32.41 MB, free: 1.539 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.003406, allocations: 8.391 kB / 32.42 MB, free: 1.531 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.003439, allocations: 1.109 kB / 32.42 MB, free: 1.531 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.459e-05/0.003483, allocations: 102.5 kB / 32.52 MB, free: 1.406 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.003496, allocations: 8.375 kB / 32.53 MB, free: 1.398 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.003502, allocations: 384 / 32.53 MB, free: 1.398 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.14e-05/0.003574, allocations: 30.2 kB / 32.56 MB, free: 1.363 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.003582, allocations: 192 / 32.56 MB, free: 1.363 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.00359, allocations: 3.938 kB / 32.56 MB, free: 1.359 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.003594, allocations: 8 kB / 32.57 MB, free: 1.352 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.49e-05/0.003609, allocations: 0 / 32.57 MB, free: 1.352 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.003788, allocations: 333.4 kB / 32.89 MB, free: 0.9961 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.003831, allocations: 177 kB / 33.07 MB, free: 0.8125 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.003846, allocations: 88.11 kB / 33.15 MB, free: 0.7227 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.00386, allocations: 79.22 kB / 33.23 MB, free: 0.6445 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.003881, allocations: 105.8 kB / 33.33 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.003882, allocations: 0 / 33.33 MB, free: 0.5312 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.785e-05/0.003939, allocations: 25.88 kB / 33.36 MB, free: 0.5 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.003964, allocations: 134.7 kB / 33.49 MB, free: 364 kB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.747e-05/0.004012, allocations: 98.19 kB / 33.59 MB, free: 256 kB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.004017, allocations: 25.7 kB / 33.61 MB, free: 224 kB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.004038, allocations: 85.97 kB / 33.7 MB, free: 136 kB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.00404, allocations: 4 kB / 33.7 MB, free: 132 kB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.004062, allocations: 9.891 kB / 33.71 MB, free: 116 kB / 14.72 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.004187, allocations: 314.8 kB / 34.02 MB, free: 4.746 MB / 19.67 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-06/0.004194, allocations: 4 kB / 34.02 MB, free: 4.742 MB / 19.67 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.004226, allocations: 35.42 kB / 34.06 MB, free: 4.695 MB / 19.67 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.004247, allocations: 8.859 kB / 34.06 MB, free: 4.684 MB / 19.67 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004249, allocations: 4.219 kB / 34.07 MB, free: 4.68 MB / 19.67 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.04e-05/0.00434, allocations: 38.14 kB / 34.11 MB, free: 4.637 MB / 19.67 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.004354, allocations: 8 kB / 34.11 MB, free: 4.629 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004358, allocations: 0 / 34.11 MB, free: 4.629 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.004369, allocations: 0 / 34.11 MB, free: 4.629 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.774e-05/0.004407, allocations: 3.938 kB / 34.12 MB, free: 4.625 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.004411, allocations: 0 / 34.12 MB, free: 4.625 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.004423, allocations: 0 / 34.12 MB, free: 4.625 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.004426, allocations: 4 kB / 34.12 MB, free: 4.621 MB / 19.67 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.0001082/0.004535, allocations: 185.7 kB / 34.3 MB, free: 4.43 MB / 19.67 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.004607, allocations: 120.9 kB / 34.42 MB, free: 4.305 MB / 19.67 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.004671, allocations: 116.2 kB / 34.53 MB, free: 4.184 MB / 19.67 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.162e-05/0.004753, allocations: 176.3 kB / 34.71 MB, free: 4.004 MB / 19.67 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-05/0.004828, allocations: 177.4 kB / 34.88 MB, free: 3.824 MB / 19.67 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.203e-05/0.00491, allocations: 184.2 kB / 35.06 MB, free: 3.637 MB / 19.67 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.005152, allocations: 352.9 kB / 35.4 MB, free: 3.254 MB / 19.67 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/0.005199, allocations: 108.9 kB / 35.51 MB, free: 3.141 MB / 19.67 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.005248, allocations: 101 kB / 35.61 MB, free: 3.035 MB / 19.67 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-05/0.005325, allocations: 180.2 kB / 35.78 MB, free: 2.852 MB / 19.67 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.005415, allocations: 184.2 kB / 35.96 MB, free: 2.664 MB / 19.67 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-05/0.005498, allocations: 184.2 kB / 36.14 MB, free: 2.477 MB / 19.67 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.612e-05/0.005584, allocations: 196.2 kB / 36.34 MB, free: 2.277 MB / 19.67 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.005742, allocations: 304.1 kB / 36.63 MB, free: 1.957 MB / 19.67 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.005796, allocations: 112.9 kB / 36.74 MB, free: 1.84 MB / 19.67 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.905e-05/0.005885, allocations: 180.2 kB / 36.92 MB, free: 1.656 MB / 19.67 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.005978, allocations: 108.9 kB / 37.03 MB, free: 1.543 MB / 19.67 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.006054, allocations: 180.2 kB / 37.2 MB, free: 1.359 MB / 19.67 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.006102, allocations: 101 kB / 37.3 MB, free: 1.254 MB / 19.67 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.006143, allocations: 79.28 kB / 37.38 MB, free: 1.176 MB / 19.67 MB Notification: Performance of sort global known variables: time 7e-08/0.006143, allocations: 0 / 37.38 MB, free: 1.176 MB / 19.67 MB Notification: Performance of remove unused functions: time 0.0003042/0.006447, allocations: 47.8 kB / 37.42 MB, free: 1.129 MB / 19.67 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.001853/0.0083, allocations: 0.5892 MB / 38.01 MB, free: 0.5312 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.008367, allocations: 7.938 kB / 38.02 MB, free: 0.5234 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.008369, allocations: 0 / 38.02 MB, free: 0.5234 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.008371, allocations: 96 / 38.02 MB, free: 0.5234 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.00877, allocations: 459.7 kB / 38.47 MB, free: 72 kB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.01353, allocations: 177.6 kB / 38.64 MB, free: 8.176 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.588e-05/0.01356, allocations: 54.03 kB / 38.7 MB, free: 8.105 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.01357, allocations: 8.562 kB / 38.7 MB, free: 8.098 MB / 19.67 MB Notification: Performance of SimCode: time 8.01e-07/0.01357, allocations: 4.688 kB / 38.71 MB, free: 8.098 MB / 19.67 MB Notification: Performance of Templates: time 0.003109/0.01668, allocations: 1.795 MB / 40.5 MB, free: 7.219 MB / 19.67 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: 4.427457954734564] Failed to read output from testmodel.py, exit status != 0: 0.0228769788518548 0.04267182 0.037241357 Calling exit ...