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.003013/0.003013, allocations: 343.1 kB / 17.38 MB, free: 5.684 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: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004816, allocations: 19.62 kB / 26.91 MB, free: 3.082 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001203/0.0006019, allocations: 100.1 kB / 27 MB, free: 3 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.001128/0.00173, allocations: 387.6 kB / 27.38 MB, free: 2.633 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.002337, allocations: 355 kB / 27.73 MB, free: 2.297 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.002366, allocations: 0 / 27.73 MB, free: 2.297 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.002376, allocations: 0 / 27.73 MB, free: 2.297 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.002404, allocations: 4 kB / 27.73 MB, free: 2.293 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.0004043/0.002809, allocations: 109.2 kB / 27.84 MB, free: 2.188 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.035e-05/0.002839, allocations: 3.938 kB / 27.84 MB, free: 2.184 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.002879, allocations: 4 kB / 27.85 MB, free: 2.18 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.002892, allocations: 0 / 27.85 MB, free: 2.18 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.494e-05/0.002906, allocations: 0 / 27.85 MB, free: 2.18 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-06/0.002911, allocations: 4 kB / 27.85 MB, free: 2.176 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.003119, allocations: 147.8 kB / 27.99 MB, free: 2.031 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.003127, allocations: 0 / 27.99 MB, free: 2.031 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.00314, allocations: 0 / 27.99 MB, free: 2.031 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.003326, allocations: 115.7 kB / 28.11 MB, free: 1.918 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003329, allocations: 0 / 28.11 MB, free: 1.918 MB / 14.72 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003329, allocations: 0 / 28.11 MB, free: 1.918 MB / 14.72 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.003334, allocations: 4 kB / 28.11 MB, free: 1.914 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.0002499/0.003584, allocations: 384.9 kB / 28.49 MB, free: 1.477 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.003619, allocations: 8.328 kB / 28.5 MB, free: 1.469 MB / 14.72 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.623e-05/0.003636, allocations: 4.188 kB / 28.5 MB, free: 1.465 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.5e-05/0.003651, allocations: 34.69 kB / 28.53 MB, free: 1.422 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.003672, allocations: 1.109 kB / 28.53 MB, free: 1.422 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.151e-05/0.003723, allocations: 164.4 kB / 28.7 MB, free: 1.223 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.00373, allocations: 384 / 28.7 MB, free: 1.223 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.00374, allocations: 384 / 28.7 MB, free: 1.223 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.00381, allocations: 34 kB / 28.73 MB, free: 1.184 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003818, allocations: 0 / 28.73 MB, free: 1.184 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.003825, allocations: 4 kB / 28.73 MB, free: 1.18 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.003829, allocations: 8 kB / 28.74 MB, free: 1.172 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.003844, allocations: 0 / 28.74 MB, free: 1.172 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.004042, allocations: 380 kB / 29.11 MB, free: 0.75 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.004088, allocations: 173.2 kB / 29.28 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.004104, allocations: 84.12 kB / 29.36 MB, free: 496 kB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.004115, allocations: 79.28 kB / 29.44 MB, free: 416 kB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.004132, allocations: 105.8 kB / 29.54 MB, free: 300 kB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.004133, allocations: 0 / 29.54 MB, free: 300 kB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 6.348e-05/0.004197, allocations: 33.81 kB / 29.58 MB, free: 260 kB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.004224, allocations: 126.7 kB / 29.7 MB, free: 120 kB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.004278, allocations: 97.97 kB / 29.8 MB, free: 12 kB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 0.00439/0.008667, allocations: 29.83 kB / 29.83 MB, free: 4.617 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.008695, allocations: 86.34 kB / 29.91 MB, free: 4.535 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.008697, allocations: 0 / 29.91 MB, free: 4.535 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.008725, allocations: 13.53 kB / 29.92 MB, free: 4.52 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.008762, allocations: 310.8 kB / 30.23 MB, free: 4.207 MB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.008772, allocations: 2.203 kB / 30.23 MB, free: 4.207 MB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.008797, allocations: 12.5 kB / 30.24 MB, free: 4.191 MB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/0.008818, allocations: 15.98 kB / 30.26 MB, free: 4.184 MB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00882, allocations: 3.469 kB / 30.26 MB, free: 4.184 MB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.376e-05/0.008903, allocations: 37.73 kB / 30.3 MB, free: 4.152 MB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.008916, allocations: 5.281 kB / 30.3 MB, free: 4.152 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00892, allocations: 0 / 30.3 MB, free: 4.152 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.008933, allocations: 0 / 30.3 MB, free: 4.152 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.008978, allocations: 1.438 kB / 30.3 MB, free: 4.152 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.008983, allocations: 1.406 kB / 30.3 MB, free: 4.152 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.008997, allocations: 2.766 kB / 30.31 MB, free: 4.152 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.009001, allocations: 1.438 kB / 30.31 MB, free: 4.152 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 4.677e-05/0.009048, allocations: 189.7 kB / 30.49 MB, free: 3.965 MB / 14.72 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.009083, allocations: 105.1 kB / 30.6 MB, free: 3.859 MB / 14.72 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.009107, allocations: 114.3 kB / 30.71 MB, free: 3.746 MB / 14.72 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.009128, allocations: 182.5 kB / 30.89 MB, free: 3.562 MB / 14.72 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/0.009149, allocations: 181.7 kB / 31.06 MB, free: 3.383 MB / 14.72 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.00917, allocations: 179.7 kB / 31.24 MB, free: 3.203 MB / 14.72 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.009285, allocations: 399 kB / 31.63 MB, free: 2.762 MB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.0093, allocations: 107.8 kB / 31.73 MB, free: 2.656 MB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.009313, allocations: 102.8 kB / 31.84 MB, free: 2.551 MB / 14.72 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.009334, allocations: 184.4 kB / 32.02 MB, free: 2.371 MB / 14.72 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.009357, allocations: 180.6 kB / 32.19 MB, free: 2.191 MB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.341e-05/0.009381, allocations: 184.5 kB / 32.37 MB, free: 2.008 MB / 14.72 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-05/0.009405, allocations: 188.4 kB / 32.56 MB, free: 1.828 MB / 14.72 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.085e-05/0.009466, allocations: 304.7 kB / 32.85 MB, free: 1.52 MB / 14.72 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.009495, allocations: 185.9 kB / 33.03 MB, free: 1.32 MB / 14.72 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.009521, allocations: 180.9 kB / 33.21 MB, free: 1.141 MB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.009568, allocations: 112.7 kB / 33.32 MB, free: 1.031 MB / 14.72 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.009604, allocations: 185.6 kB / 33.5 MB, free: 0.8516 MB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.009618, allocations: 101 kB / 33.6 MB, free: 0.7461 MB / 14.72 MB Notification: Performance of sorting global known variables: time 1.588e-05/0.009634, allocations: 79.03 kB / 33.68 MB, free: 0.6719 MB / 14.72 MB Notification: Performance of sort global known variables: time 8e-08/0.009634, allocations: 0 / 33.68 MB, free: 0.6719 MB / 14.72 MB Notification: Performance of remove unused functions: time 0.0002764/0.00991, allocations: 42.02 kB / 33.72 MB, free: 0.6719 MB / 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.002056/0.01197, allocations: 1.185 MB / 34.9 MB, free: 4.586 MB / 19.67 MB Notification: Performance of simCode: created initialization part: time 7.192e-05/0.01204, allocations: 3.75 kB / 34.91 MB, free: 4.586 MB / 19.67 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01204, allocations: 7.906 kB / 34.92 MB, free: 4.582 MB / 19.67 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.01204, allocations: 0 / 34.92 MB, free: 4.582 MB / 19.67 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.01248, allocations: 466.2 kB / 35.37 MB, free: 4.129 MB / 19.67 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.01289, allocations: 206.9 kB / 35.57 MB, free: 3.902 MB / 19.67 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.0132, allocations: 0.6723 MB / 36.25 MB, free: 3.207 MB / 19.67 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.01321, allocations: 0 / 36.25 MB, free: 3.207 MB / 19.67 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.01323, allocations: 12.84 kB / 36.26 MB, free: 3.195 MB / 19.67 MB Notification: Performance of SimCode: time 3.01e-07/0.01323, allocations: 0 / 36.26 MB, free: 3.195 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.03752, allocations: 2.575 MB / 38.83 MB, free: 1.129 MB / 19.67 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.085, allocations: 6.109 kB / 38.84 MB, free: 1.125 MB / 19.67 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.596814493997954] Failed to read output from testmodel.py, exit status != 0: 8.205735167954117 8.230928718 8.224991565 Calling exit ...