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.003927/0.003927, allocations: 335.3 kB / 19.96 MB, free: 1.883 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.000474/0.000474, allocations: 11.64 kB / 30.46 MB, free: 3.293 MB / 14.72 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.215e-05/0.0005461, allocations: 106.3 kB / 30.57 MB, free: 3.242 MB / 14.72 MB Notification: Performance of NFInst.instantiate(MessagePack.Examples.TestCreateAndReadFile): time 0.0009936/0.00154, allocations: 366.8 kB / 30.92 MB, free: 3.062 MB / 14.72 MB Notification: Performance of NFInst.instExpressions: time 0.0004932/0.002033, allocations: 348.2 kB / 31.26 MB, free: 2.754 MB / 14.72 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.002053, allocations: 0 / 31.26 MB, free: 2.754 MB / 14.72 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.002065, allocations: 0 / 31.26 MB, free: 2.754 MB / 14.72 MB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.002086, allocations: 4 kB / 31.27 MB, free: 2.75 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.000325/0.002412, allocations: 107.6 kB / 31.37 MB, free: 2.645 MB / 14.72 MB Notification: Performance of NFFlatten.flatten: time 3.317e-05/0.002445, allocations: 3.938 kB / 31.38 MB, free: 2.641 MB / 14.72 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.002482, allocations: 4 kB / 31.38 MB, free: 2.637 MB / 14.72 MB Notification: Performance of NFEvalConstants.evaluate: time 1.207e-05/0.002494, allocations: 3.984 kB / 31.38 MB, free: 2.633 MB / 14.72 MB Notification: Performance of NFSimplifyModel.simplify: time 1.538e-05/0.002509, allocations: 0 / 31.38 MB, free: 2.633 MB / 14.72 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-06/0.002514, allocations: 0 / 31.38 MB, free: 2.633 MB / 14.72 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.002669, allocations: 139.9 kB / 31.52 MB, free: 2.496 MB / 14.72 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.002676, allocations: 4 kB / 31.53 MB, free: 2.492 MB / 14.72 MB Notification: Performance of NFVerifyModel.verify: time 1.189e-05/0.002688, allocations: 3.938 kB / 31.53 MB, free: 2.488 MB / 14.72 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.002829, allocations: 109 kB / 31.64 MB, free: 2.383 MB / 14.72 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002831, allocations: 0 / 31.64 MB, free: 2.383 MB / 14.72 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002832, allocations: 4 kB / 31.64 MB, free: 2.379 MB / 14.72 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.00284, allocations: 0 / 31.64 MB, free: 2.379 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.000206/0.003046, allocations: 311.8 kB / 31.94 MB, free: 2.031 MB / 14.72 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.003078, allocations: 8.391 kB / 31.95 MB, free: 2.023 MB / 14.72 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.267e-05/0.003091, allocations: 4.125 kB / 31.96 MB, free: 2.02 MB / 14.72 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.275e-05/0.003104, allocations: 34.75 kB / 31.99 MB, free: 1.977 MB / 14.72 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.999e-05/0.003124, allocations: 1.109 kB / 31.99 MB, free: 1.977 MB / 14.72 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.078e-05/0.003165, allocations: 110.5 kB / 32.1 MB, free: 1.844 MB / 14.72 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.003173, allocations: 384 / 32.1 MB, free: 1.844 MB / 14.72 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.003183, allocations: 4.312 kB / 32.1 MB, free: 1.84 MB / 14.72 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.91e-05/0.003252, allocations: 34.02 kB / 32.14 MB, free: 1.801 MB / 14.72 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003259, allocations: 0 / 32.14 MB, free: 1.801 MB / 14.72 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.003265, allocations: 2.312 kB / 32.14 MB, free: 1.801 MB / 14.72 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.003269, allocations: 3.938 kB / 32.14 MB, free: 1.797 MB / 14.72 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.306e-05/0.003282, allocations: 0 / 32.14 MB, free: 1.797 MB / 14.72 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.003463, allocations: 363 kB / 32.5 MB, free: 1.398 MB / 14.72 MB Notification: Performance of preOpt comSubExp (simulation): time 4.061e-05/0.003504, allocations: 169.1 kB / 32.66 MB, free: 1.223 MB / 14.72 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.003517, allocations: 84.14 kB / 32.74 MB, free: 1.137 MB / 14.72 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.00353, allocations: 78.38 kB / 32.82 MB, free: 1.062 MB / 14.72 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.003546, allocations: 113.8 kB / 32.93 MB, free: 0.9414 MB / 14.72 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.003547, allocations: 0 / 32.93 MB, free: 0.9414 MB / 14.72 MB Notification: Performance of matching and sorting (n=0): time 5.462e-05/0.003601, allocations: 33.8 kB / 32.97 MB, free: 0.9023 MB / 14.72 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.003623, allocations: 126.7 kB / 33.09 MB, free: 0.7656 MB / 14.72 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.003669, allocations: 94.03 kB / 33.18 MB, free: 0.6641 MB / 14.72 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.003675, allocations: 25.7 kB / 33.21 MB, free: 0.6328 MB / 14.72 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.003697, allocations: 82.03 kB / 33.29 MB, free: 0.5508 MB / 14.72 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.003699, allocations: 0 / 33.29 MB, free: 0.5508 MB / 14.72 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.003721, allocations: 22.02 kB / 33.31 MB, free: 0.5234 MB / 14.72 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.003755, allocations: 310.8 kB / 33.61 MB, free: 216 kB / 14.72 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.003762, allocations: 0 / 33.61 MB, free: 216 kB / 14.72 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.003783, allocations: 43.41 kB / 33.65 MB, free: 160 kB / 14.72 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.569e-05/0.003798, allocations: 8.797 kB / 33.66 MB, free: 148 kB / 14.72 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0038, allocations: 4 kB / 33.67 MB, free: 144 kB / 14.72 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.308e-05/0.003873, allocations: 33.81 kB / 33.7 MB, free: 104 kB / 14.72 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.003882, allocations: 4 kB / 33.7 MB, free: 100 kB / 14.72 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.003886, allocations: 0 / 33.7 MB, free: 100 kB / 14.72 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.003897, allocations: 4.125 kB / 33.71 MB, free: 96 kB / 14.72 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-05/0.003934, allocations: 4 kB / 33.71 MB, free: 92 kB / 14.72 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.003938, allocations: 0 / 33.71 MB, free: 92 kB / 14.72 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.003948, allocations: 0.5156 kB / 33.71 MB, free: 92 kB / 14.72 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.003952, allocations: 4 kB / 33.72 MB, free: 88 kB / 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 0.0001001/0.004052, allocations: 193.6 kB / 33.9 MB, free: 4.812 MB / 19.65 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.004118, allocations: 104.9 kB / 34.01 MB, free: 4.703 MB / 19.65 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.004169, allocations: 104.3 kB / 34.11 MB, free: 4.594 MB / 19.65 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.466e-05/0.004244, allocations: 180.3 kB / 34.28 MB, free: 4.41 MB / 19.65 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-05/0.004321, allocations: 184.2 kB / 34.46 MB, free: 4.223 MB / 19.65 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.74e-05/0.004398, allocations: 188.2 kB / 34.65 MB, free: 4.031 MB / 19.65 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.004636, allocations: 376.2 kB / 35.02 MB, free: 3.613 MB / 19.65 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.00468, allocations: 101 kB / 35.11 MB, free: 3.508 MB / 19.65 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.004727, allocations: 108.9 kB / 35.22 MB, free: 3.395 MB / 19.65 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.691e-05/0.004804, allocations: 184.2 kB / 35.4 MB, free: 3.207 MB / 19.65 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.004907, allocations: 184.2 kB / 35.58 MB, free: 3.02 MB / 19.65 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-05/0.004984, allocations: 184.2 kB / 35.76 MB, free: 2.832 MB / 19.65 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001857/0.00517, allocations: 180.3 kB / 35.94 MB, free: 2.648 MB / 19.65 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.005331, allocations: 319.9 kB / 36.25 MB, free: 2.312 MB / 19.65 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.005381, allocations: 105 kB / 36.35 MB, free: 2.203 MB / 19.65 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.00553, allocations: 180.2 kB / 36.53 MB, free: 2.02 MB / 19.65 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.005611, allocations: 105 kB / 36.63 MB, free: 1.91 MB / 19.65 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.005688, allocations: 184.2 kB / 36.81 MB, free: 1.723 MB / 19.65 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.00578, allocations: 104.9 kB / 36.91 MB, free: 1.613 MB / 19.65 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.005818, allocations: 79.28 kB / 36.99 MB, free: 1.535 MB / 19.65 MB Notification: Performance of sort global known variables: time 1e-07/0.005818, allocations: 0 / 36.99 MB, free: 1.535 MB / 19.65 MB Notification: Performance of remove unused functions: time 0.0002777/0.006096, allocations: 43.86 kB / 37.03 MB, free: 1.492 MB / 19.65 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.002031/0.008127, allocations: 1.228 MB / 38.26 MB, free: 244 kB / 19.65 MB Notification: Performance of simCode: created initialization part: time 6.658e-05/0.008194, allocations: 7.938 kB / 38.27 MB, free: 236 kB / 19.65 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008196, allocations: 0 / 38.27 MB, free: 236 kB / 19.65 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.008197, allocations: 4 kB / 38.27 MB, free: 232 kB / 19.65 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.01304, allocations: 451.7 kB / 38.71 MB, free: 7.566 MB / 19.65 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.01331, allocations: 203.9 kB / 38.91 MB, free: 7.355 MB / 19.65 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.471e-05/0.01334, allocations: 54.28 kB / 38.97 MB, free: 7.285 MB / 19.65 MB Notification: Performance of simCode: alias equations: time 1.384e-05/0.01335, allocations: 1.312 kB / 38.97 MB, free: 7.285 MB / 19.65 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.01336, allocations: 9.406 kB / 38.98 MB, free: 7.277 MB / 19.65 MB Notification: Performance of SimCode: time 2.8e-07/0.01336, allocations: 0 / 38.98 MB, free: 7.277 MB / 19.65 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.03579, allocations: 2.722 MB / 41.7 MB, free: 5.523 MB / 19.65 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.07, allocations: 4.406 kB / 41.7 MB, free: 5.52 MB / 19.65 MB " [Timeout remaining time 649] (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: 11.648014888050966] Failed to read output from testmodel.py, exit status != 0: 11.225174540071748 11.248056295 11.243145406 Calling exit ...